summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r--src/rebar_prv_install_deps.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index e92a3f0..8d07cd3 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -85,7 +85,10 @@ do(State) ->
no_cycle ->
case compile_order(Source, ProjectApps) of
{ok, ToCompile} ->
- {ok, rebar_state:deps_to_build(State1, ToCompile)};
+ %% Deps may have plugins to install. Find and intall here.
+ {ok, PluginProviders, State2} = rebar_plugins:install(State1),
+ State3 = rebar_state:create_logic_providers(PluginProviders, State2),
+ {ok, rebar_state:deps_to_build(State3, ToCompile)};
{error, Error} ->
{error, Error}
end