diff options
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r-- | src/rebar_prv_install_deps.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index f702936..1c269fb 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -146,6 +146,8 @@ handle_deps(Profile, State, Deps, Upgrade, Locks) -> ,lists:ukeysort(2, Solved)), %% Sort all apps to build order State3 = rebar_state:all_deps(State2, AllDeps), + CodePaths = [rebar_app_info:ebin_dir(A) || A <- AllDeps], + ok = code:add_pathsa(CodePaths), {ok, AllDeps, State3}. |