mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix regression in rebar_lfe_compiler
This commit is contained in:
parent
3356c2d9e8
commit
2cff499a34
1 changed files with 3 additions and 2 deletions
|
@ -62,7 +62,7 @@ compile_lfe(Source, Target, Config) ->
|
||||||
?FAIL;
|
?FAIL;
|
||||||
_ ->
|
_ ->
|
||||||
Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++
|
Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++
|
||||||
rebar_config:get_list(Config, erl_opts, []),
|
rebar_config:get_list(Config, lfe_opts, []),
|
||||||
case lfe_comp:file(Source, Opts) of
|
case lfe_comp:file(Source, Opts) of
|
||||||
{ok, _, []} ->
|
{ok, _, []} ->
|
||||||
ok;
|
ok;
|
||||||
|
@ -74,6 +74,7 @@ compile_lfe(Source, Target, Config) ->
|
||||||
false ->
|
false ->
|
||||||
ok
|
ok
|
||||||
end;
|
end;
|
||||||
_ -> ?FAIL
|
_ ->
|
||||||
|
?FAIL
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in a new issue