소스 검색

include link to src in outdir for R15 cover/xref

pull/195/head
Tristan Sloughter 10 년 전
부모
커밋
65204ba0ba
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      src/rebar_prv_compile.erl

+ 2
- 1
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.

불러오는 중...
취소
저장