diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2009-12-28 06:51:03 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2009-12-28 06:51:03 -0700 |
commit | d51479c37e76545786644516d53a9064a9134a1b (patch) | |
tree | cb3a8167b61e8a4414f136340025ee3fd38348f2 | |
parent | c99e6da25061fbd5a6d829afb48833451fac8706 (diff) |
Adding ?ABORT macro
-rw-r--r-- | include/rebar.hrl | 2 |
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)). |