mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix order of erl_opts to be more accurate
This commit is contained in:
parent
a529577b74
commit
9c0d51bc0b
1 changed files with 2 additions and 2 deletions
|
@ -219,8 +219,8 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) ->
|
|||
%% the target,
|
||||
case needs_compile(Source, Target, Hrls) of
|
||||
true ->
|
||||
Opts = [{i, "include"}, {outdir, filename:dirname(Target)}, report, return] ++
|
||||
ErlOpts,
|
||||
Opts = [{outdir, filename:dirname(Target)}] ++
|
||||
ErlOpts ++ [{i, "include"}, report, return],
|
||||
case compile:file(Source, Opts) of
|
||||
{ok, _, []} ->
|
||||
ok;
|
||||
|
|
Loading…
Reference in a new issue