瀏覽代碼

Adding ?ABORT macro

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
d51479c37e
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      include/rebar.hrl

+ 2
- 0
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)).

Loading…
取消
儲存