summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorJon Meredith <jon.hg@jonmeredith.com>2009-12-04 07:56:08 -0700
committerJon Meredith <jon.hg@jonmeredith.com>2009-12-04 07:56:08 -0700
commit048179ab83ddff502091dd7d031a57d0a01dd060 (patch)
tree2a5eb060c5117a3543614c88237956f2647f5f8e /priv
parenta0d48d89ae2f2e47ddc25618866f2b9e3c0e4dd5 (diff)
Changed the rebar command to exit non-zero on error.
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/rebar7
1 files changed, 6 insertions, 1 deletions
diff --git a/priv/rebar b/priv/rebar
index 198f20d..83e5c80 100755
--- a/priv/rebar
+++ b/priv/rebar
@@ -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.