瀏覽代碼

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.

Loading…
取消
儲存