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

Fix erlc regression (reported-by Benoit Chesneau)

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

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

@ -252,9 +252,9 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) ->
case needs_compile(Source, Target, Hrls) of
true ->
Opts = [{outdir, filename:dirname(Target)}] ++
ErlOpts ++ [{i, "include"}, report, return],
ErlOpts ++ [{i, "include"}, report, return_errors],
case compile:file(Source, Opts) of
{ok, _, []} ->
{ok, _} ->
ok;
_ ->
?FAIL

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