Browse Source

Add erlc override from erl_opts: outdir

pull/3/head
Joe DeVivo 12 years ago
committed by Tuncer Ayaz
parent
commit
991e2ce8e1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/rebar_erlc_compiler.erl

+ 3
- 1
src/rebar_erlc_compiler.erl View File

@ -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…
Cancel
Save