summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-07-16 09:01:26 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-07-16 09:01:26 -0400
commit296f8682944c0cb497aebc5d7e4198f6e0b0cd0c (patch)
treebb8f92f14420cbc3a12ed1484d8ee74f10e545e6
parent57b2b988a15d5acb0de3c92d6bf58c71ab5efe43 (diff)
parent7797a66e8834d9437e9605f53fcae1a768255c62 (diff)
Merge pull request #613 from tsloughter/plugins_fix_path
keep plugins in path after compile provider run
-rw-r--r--src/rebar_prv_compile.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index f280b1f..74be7a6 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -63,7 +63,8 @@ do(State) ->
rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State2),
has_all_artifacts(State3),
- rebar_utils:cleanup_code_path(rebar_state:code_paths(State3, default)),
+ rebar_utils:cleanup_code_path(rebar_state:code_paths(State3, default)
+ ++ rebar_state:code_paths(State, all_plugin_deps)),
{ok, State3}.