summaryrefslogtreecommitdiff
path: root/src/rebar_lfe_compiler.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-04-07 20:49:23 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-04-07 21:56:53 +0200
commit055ac99d6f473620d8cfad816ac39b86eeb21bbc (patch)
treefc1a308d332ce883eae132bb53753b0e3ca26ad3 /src/rebar_lfe_compiler.erl
parent121d8f03f98b5d4e620aacfdfece2af4255efafe (diff)
Deprecate fail_on_warning and refactor code
Diffstat (limited to 'src/rebar_lfe_compiler.erl')
-rw-r--r--src/rebar_lfe_compiler.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_lfe_compiler.erl b/src/rebar_lfe_compiler.erl
index 06b0f08..8356ab8 100644
--- a/src/rebar_lfe_compiler.erl
+++ b/src/rebar_lfe_compiler.erl
@@ -37,6 +37,10 @@
%% ===================================================================
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).