summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-05-29 09:11:34 -0500
committerTristan Sloughter <t@crashfast.com>2015-05-29 09:11:34 -0500
commit6c6940f860139cae0b719e0e1d7f8ed37171ba59 (patch)
tree76874f82a694447e0819f83cd54afce8cf4e65b2
parent7d33dbf6aab358751c1edb9a25174ae811b6a0d7 (diff)
add comment explaining installing each plugin individually
-rw-r--r--src/rebar_plugins.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl
index b1d54c4..c4644dc 100644
--- a/src/rebar_plugins.erl
+++ b/src/rebar_plugins.erl
@@ -36,6 +36,7 @@ handle_plugins(Profile, Plugins, State) ->
DepsDir = rebar_state:get(State, deps_dir, ?DEFAULT_DEPS_DIR),
State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR),
+ %% Install each plugin individually so if one fails to install it doesn't effect the others
{PluginProviders, State2} =
lists:foldl(fun(Plugin, {PluginAcc, StateAcc}) ->
{NewPlugins, NewState} = handle_plugin(Profile, Plugin, StateAcc),