summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-05-20 20:41:42 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-05-20 20:41:42 -0500
commitab1d2645576442309b69233c8bf82824f2c6cdbd (patch)
tree4d2ebbedcafffa182dee311b1865b18b90f3974c /src/rebar_prv_compile.erl
parent32370695675075b2394bc726887406ad12438e9c (diff)
parentb06a6ecaddfc6fea16f3c24881fd41ac731ffa9e (diff)
Merge pull request #457 from talentdeficit/extra_src_dirs_ct
don't add `{extra_src_dirs, ["test"]}` to `test` profile
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 3265e58..b80d90c 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -119,7 +119,7 @@ copy_app_dirs(State, OldAppDir, AppDir) ->
end,
filelib:ensure_dir(filename:join(AppDir, "dummy")),
%% link to src_dirs to be adjacent to ebin is needed for R15 use of cover/xref
- SrcDirs = rebar_dir:all_src_dirs(State, ["src"], []),
+ SrcDirs = rebar_dir:all_src_dirs(State, ["src"], ["test"]),
[symlink_or_copy(OldAppDir, AppDir, Dir) || Dir <- ["priv", "include"] ++ SrcDirs];
false ->
ok