Browse Source

Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)

pull/3/head
Dave Smith 15 years ago
parent
commit
be754bb6ef
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_core.erl

+ 2
- 2
src/rebar_core.erl View File

@ -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.

Loading…
Cancel
Save