diff options
author | Jon Meredith <jon.hg@jonmeredith.com> | 2009-12-04 07:56:08 -0700 |
---|---|---|
committer | Jon Meredith <jon.hg@jonmeredith.com> | 2009-12-04 07:56:08 -0700 |
commit | 048179ab83ddff502091dd7d031a57d0a01dd060 (patch) | |
tree | 2a5eb060c5117a3543614c88237956f2647f5f8e | |
parent | a0d48d89ae2f2e47ddc25618866f2b9e3c0e4dd5 (diff) |
Changed the rebar command to exit non-zero on error.
-rwxr-xr-x | priv/rebar | 7 |
1 files changed, 6 insertions, 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. |