Explorar el Código

Adding ?ABORT macro

pull/3/head
Dave Smith hace 15 años
padre
commit
d51479c37e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      include/rebar.hrl

+ 2
- 0
include/rebar.hrl Ver fichero

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

Cargando…
Cancelar
Guardar