diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-04-07 20:49:23 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-04-07 21:56:53 +0200 |
commit | 055ac99d6f473620d8cfad816ac39b86eeb21bbc (patch) | |
tree | fc1a308d332ce883eae132bb53753b0e3ca26ad3 /include | |
parent | 121d8f03f98b5d4e620aacfdfece2af4255efafe (diff) |
Deprecate fail_on_warning and refactor code
Diffstat (limited to 'include')
-rw-r--r-- | include/rebar.hrl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl index 0f4e90f..82821e6 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -10,3 +10,9 @@ -define(ERROR(Str, Args), rebar_log:log(error, Str, Args)). -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))). + +-define(DEPRECATED(Old, New, Opts, When), + rebar_utils:deprecated(Old, New, Opts, When)). + +-define(DEPRECATED(Old, New, When), + rebar_utils:deprecated(Old, New, When)). |