Ver código fonte

include link to src in outdir for R15 cover/xref

pull/195/head
Tristan Sloughter 10 anos atrás
pai
commit
65204ba0ba
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      src/rebar_prv_compile.erl

+ 2
- 1
src/rebar_prv_compile.erl Ver arquivo

@ -122,8 +122,9 @@ copy_app_dirs(AppName, OldAppDir, AppDir) ->
ok ok
end, end,
filelib:ensure_dir(filename:join(AppDir, "dummy")), 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)) [file:make_symlink(filename:join(OldAppDir, Dir), filename:join(AppDir, Dir))
|| Dir <- ["priv", "include"]];
|| Dir <- ["priv", "include", "src"]];
false -> false ->
ok ok
end. end.

Carregando…
Cancelar
Salvar