diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-02-28 08:07:39 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-02-28 09:56:19 -0600 |
commit | 65204ba0bab69b049ecee17f6bd620ebef5e7e11 (patch) | |
tree | 3d26ff6d94ad14322b1da161f1831b98e5392657 | |
parent | a238bc24c678320c323dc57ca675ad19ad602d0e (diff) |
include link to src in outdir for R15 cover/xref
-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. |