mirror of
https://github.com/correl/rebar.git
synced 2024-12-24 03:00:16 +00:00
Changed the rebar command to exit non-zero on error.
This commit is contained in:
parent
a0d48d89ae
commit
048179ab83
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue