mirror of
https://github.com/correl/rebar.git
synced 2024-11-30 11:09:56 +00:00
Remove lfe_opts (suggested by Tim Dysinger)
This commit is contained in:
parent
bda6ee0e48
commit
67af251d52
2 changed files with 2 additions and 7 deletions
|
@ -50,8 +50,7 @@
|
|||
%% LFE files to compile before the rest
|
||||
{lfe_first_files, []}.
|
||||
|
||||
%% Options for the LFE compiler
|
||||
{lfe_opts, []}.
|
||||
%% Options for the LFE compiler: reuse {erl_opts, []}
|
||||
|
||||
%% == ErlyDTL Compiler ==
|
||||
|
||||
|
|
|
@ -37,10 +37,6 @@
|
|||
%% ===================================================================
|
||||
|
||||
compile(Config, _AppFile) ->
|
||||
?DEPRECATED(fail_on_warning, warnings_as_errors,
|
||||
rebar_config:get_list(Config, lfe_opts, []),
|
||||
"once OTP R15 is released"),
|
||||
|
||||
FirstFiles = rebar_config:get_list(Config, lfe_first_files, []),
|
||||
rebar_base_compiler:run(Config, FirstFiles, "src", ".lfe", "ebin", ".beam",
|
||||
fun compile_lfe/3).
|
||||
|
@ -66,7 +62,7 @@ compile_lfe(Source, Target, Config) ->
|
|||
?FAIL;
|
||||
_ ->
|
||||
Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++
|
||||
rebar_config:get_list(Config, lfe_opts, []),
|
||||
rebar_config:get_list(Config, erl_opts, []),
|
||||
case lfe_comp:file(Source, Opts) of
|
||||
{ok, _, []} ->
|
||||
ok;
|
||||
|
|
Loading…
Reference in a new issue