summaryrefslogtreecommitdiff
path: root/include/rebar.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rebar.hrl')
-rw-r--r--include/rebar.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl
index 35de9f5..4ec3778 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -3,6 +3,8 @@
-define(FAIL, throw({error, failed})).
+-define(ABORT(Str, Args), ?ERROR(Str, Args), halt(1)).
+
-define(CONSOLE(Str, Args), io:format(Str, Args)).
-define(DEBUG(Str, Args), rebar_log:log(debug, Str, Args)).