summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-07-15 22:34:48 -0500
committerTristan Sloughter <t@crashfast.com>2015-07-15 22:36:00 -0500
commit7797a66e8834d9437e9605f53fcae1a768255c62 (patch)
tree4bae69ca67e985ff969148905cde68d123a0fd1c
parenta67ce27ac17234aae720ec159ef6eb733a30f716 (diff)
keep plugins in path after compileprovider 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 25d5193..d76fbda 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}.