Parcourir la source

include link to src in outdir for R15 cover/xref

pull/195/head
Tristan Sloughter il y a 10 ans
Parent
révision
65204ba0ba
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      src/rebar_prv_compile.erl

+ 2
- 1
src/rebar_prv_compile.erl Voir le fichier

@ -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.

Chargement…
Annuler
Enregistrer