mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +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