summaryrefslogtreecommitdiff
path: root/src/rebar_prv_app_discovery.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-01-10 09:21:08 -0600
committerTristan Sloughter <t@crashfast.com>2016-01-10 09:21:08 -0600
commit414dd344e96ac4cb430c3e055b26ac73a6a988b0 (patch)
tree3ff4a9c5bed6108c625a33df79c46268a4bdeec2 /src/rebar_prv_app_discovery.erl
parenta479c2f392c609e1ada2ee6ec97051fd2a3d00f6 (diff)
install project app plugins after discovering them not before
Diffstat (limited to 'src/rebar_prv_app_discovery.erl')
-rw-r--r--src/rebar_prv_app_discovery.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_app_discovery.erl b/src/rebar_prv_app_discovery.erl
index 5449f82..1954214 100644
--- a/src/rebar_prv_app_discovery.erl
+++ b/src/rebar_prv_app_discovery.erl
@@ -36,7 +36,8 @@ do(State) ->
LibDirs = rebar_dir:lib_dirs(State),
try
State1 = rebar_app_discover:do(State, LibDirs),
- {ok, State1}
+ State2 = rebar_plugins:project_apps_install(State1),
+ {ok, State2}
catch
throw:{error, {rebar_packages, Error}} ->
{error, {rebar_packages, Error}};