Sfoglia il codice sorgente

Adding ?ABORT macro

pull/3/head
Dave Smith 15 anni fa
parent
commit
d51479c37e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      include/rebar.hrl

+ 2
- 0
include/rebar.hrl Vedi File

@ -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)).

Caricamento…
Annulla
Salva