瀏覽代碼

Add erlc override from erl_opts: outdir

pull/3/head
Joe DeVivo 13 年之前
committed by Tuncer Ayaz
父節點
當前提交
991e2ce8e1
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/rebar_erlc_compiler.erl

+ 3
- 1
src/rebar_erlc_compiler.erl 查看文件

@ -259,7 +259,9 @@ doterl_compile(Config, OutDir, MoreSources) ->
true = code:add_path(filename:absname("ebin")),
rebar_base_compiler:run(Config, NewFirstErls, OtherErls,
fun(S, C) ->
internal_erl_compile(C, S, OutDir, ErlOpts)
internal_erl_compile(C, S,
proplists:get_value(outdir, ErlOpts, OutDir),
ErlOpts)
end),
true = code:set_path(CurrPath),
ok.

Loading…
取消
儲存