mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Add erlc override from erl_opts: outdir
This commit is contained in:
parent
e34b702423
commit
991e2ce8e1
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue