Changed the rebar command to exit non-zero on error.

This commit is contained in:
Jon Meredith 2009-12-04 07:56:08 -07:00
parent a0d48d89ae
commit 048179ab83

View file

@ -29,4 +29,9 @@
-include_lib("rebar/include/rebar.hrl").
main(Args) ->
rebar_core:run(Args).
case rebar_core:run(Args) of
ok ->
ok;
_ ->
halt(1)
end.