From 055ac99d6f473620d8cfad816ac39b86eeb21bbc Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 7 Apr 2011 20:49:23 +0200 Subject: Deprecate fail_on_warning and refactor code --- include/rebar.hrl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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)). -- cgit v1.1