diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2009-12-14 17:11:25 -0500 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2009-12-14 17:11:25 -0500 |
commit | be754bb6efc02a2755314b0e8cec7fbbc314fa10 (patch) | |
tree | 9d39c0aaf1825b57ed28a414cf7d0384f8d012b7 | |
parent | 537eaa3bba6b9a71884830136fb2517161c01540 (diff) |
Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)
-rw-r--r-- | src/rebar_core.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index c5a3dc6..e55d838 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) -> ok -> apply_commands(Rest, Modules, Config, ModuleFile); {error, failed} -> - error; + ?FAIL; Other -> ?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]), - error + ?FAIL end end. |