diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-01-05 19:26:51 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-01-05 19:26:51 -0500 |
commit | 956e43a862c10c784059a5ac5c1368c116c064dc (patch) | |
tree | f1244d3feb28e14c95cafb1610e308a7a2167e40 /src/rebar_prv_compile.erl | |
parent | d5a601c89fd58ada4de46ec4a48940b9cd5760d6 (diff) | |
parent | a4711d00ac294328494de620b2e66067ff80785c (diff) |
Merge pull request #966 from talentdeficit/ct_root_suites
allow ct suites to be specified at root of project (or root of app)
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r-- | src/rebar_prv_compile.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl index 2996aee..d57b82b 100644 --- a/src/rebar_prv_compile.erl +++ b/src/rebar_prv_compile.erl @@ -217,6 +217,10 @@ copy(OldAppDir, AppDir, Dir) -> %% TODO: use ec_file:copy/2 to do this, it preserves timestamps and %% may prevent recompilation of files in extra dirs +copy(Source, Source) -> + %% allow users to specify a directory in _build as a directory + %% containing additional source/tests + ok; copy(Source, Target) -> %% important to do this so no files are copied onto themselves %% which truncates them to zero length on some platforms |