summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-02-28 08:07:39 -0600
committerTristan Sloughter <t@crashfast.com>2015-02-28 09:56:19 -0600
commit65204ba0bab69b049ecee17f6bd620ebef5e7e11 (patch)
tree3d26ff6d94ad14322b1da161f1831b98e5392657 /src
parenta238bc24c678320c323dc57ca675ad19ad602d0e (diff)
include link to src in outdir for R15 cover/xref
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_compile.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 2d11596..001ea68 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -122,8 +122,9 @@ copy_app_dirs(AppName, OldAppDir, AppDir) ->
ok
end,
filelib:ensure_dir(filename:join(AppDir, "dummy")),
+ %% link to src to be adjacent to ebin is needed for R15 use of cover/xref
[file:make_symlink(filename:join(OldAppDir, Dir), filename:join(AppDir, Dir))
- || Dir <- ["priv", "include"]];
+ || Dir <- ["priv", "include", "src"]];
false ->
ok
end.