mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Make sure to bail w/ return code of 1 when error has occurred
This commit is contained in:
parent
e7277e69f0
commit
af5096b6f0
1 changed files with 6 additions and 1 deletions
|
@ -27,4 +27,9 @@
|
||||||
-export([main/1]).
|
-export([main/1]).
|
||||||
|
|
||||||
main(Args) ->
|
main(Args) ->
|
||||||
rebar_core:run(Args).
|
case catch(rebar_core:run(Args)) of
|
||||||
|
ok ->
|
||||||
|
ok;
|
||||||
|
_ ->
|
||||||
|
halt(1)
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in a new issue