From 048179ab83ddff502091dd7d031a57d0a01dd060 Mon Sep 17 00:00:00 2001 From: Jon Meredith Date: Fri, 4 Dec 2009 07:56:08 -0700 Subject: [PATCH] Changed the rebar command to exit non-zero on error. --- priv/rebar | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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.