summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-05 09:28:59 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-05 09:28:59 -0500
commitf18e84ce2b8bde2def81b111e6c042cd68f0f779 (patch)
tree4f870e53b847538648fa923022a339dda23a1e13 /src
parent743b24883d61d9756ea58283cf7de038f07b9ce4 (diff)
only install dep plugins from install_deps
Diffstat (limited to 'src')
-rw-r--r--src/rebar_plugins.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl
index a9550ff..02e8f4e 100644
--- a/src/rebar_plugins.erl
+++ b/src/rebar_plugins.erl
@@ -13,18 +13,16 @@
-spec install(rebar_state:t()) -> rebar_state:t().
install(State) ->
- DepsDir = rebar_dir:deps_dir(State),
Plugins = rebar_state:get(State, plugins, []),
ProjectApps = rebar_state:project_apps(State),
- DepApps = rebar_app_discover:find_apps([DepsDir], all),
OtherPlugins = lists:flatmap(fun(App) ->
AppDir = rebar_app_info:dir(App),
C = rebar_config:consult(AppDir),
S = rebar_state:new(rebar_state:new(), C, AppDir),
rebar_state:get(S, plugins, [])
- end, ProjectApps++DepApps),
+ end, ProjectApps),
handle_plugins(Plugins++OtherPlugins, State).