summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_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_erlc_compiler.erl
parent121d8f03f98b5d4e620aacfdfece2af4255efafe (diff)
Deprecate fail_on_warning and refactor code
Diffstat (limited to 'src/rebar_erlc_compiler.erl')
-rw-r--r--src/rebar_erlc_compiler.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 21db366..b63c295 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -69,6 +69,10 @@
-spec compile(Config::rebar_config:config(), AppFile::file:filename()) -> 'ok'.
compile(Config, _AppFile) ->
+ ?DEPRECATED(fail_on_warning, warnings_as_errors,
+ rebar_config:get_list(Config, erl_opts, []),
+ "once OTP R15 is released"),
+
rebar_base_compiler:run(Config,
check_files(rebar_config:get_local(
Config, xrl_first_files, [])),