diff options
-rw-r--r-- | src/rebar_prv_compile.erl | 3 |
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. |