From 65204ba0bab69b049ecee17f6bd620ebef5e7e11 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 28 Feb 2015 08:07:39 -0600 Subject: include link to src in outdir for R15 cover/xref --- src/rebar_prv_compile.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.1