Переглянути джерело

Fix order of erl_opts to be more accurate

pull/3/head
Tuncer Ayaz 14 роки тому
джерело
коміт
9c0d51bc0b
1 змінених файлів з 2 додано та 2 видалено
  1. +2
    -2
      src/rebar_erlc_compiler.erl

+ 2
- 2
src/rebar_erlc_compiler.erl Переглянути файл

@ -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;

Завантаження…
Відмінити
Зберегти