mirror of
https://github.com/correl/rebar.git
synced 2024-12-24 03:00:16 +00:00
Adding ?ABORT macro
This commit is contained in:
parent
c99e6da250
commit
d51479c37e
1 changed files with 2 additions and 0 deletions
|
@ -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)).
|
||||
|
|
Loading…
Reference in a new issue