summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-08 09:34:52 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-08 09:34:52 -0600
commit5c465514b285a31565ab4512e55bef12e9b5e0c5 (patch)
treed41265abc9359ada70b575d7a4d873015e14935b /src
parent1ff904f39a07416a6739bd97b8f94c504e1587d0 (diff)
add deps to code paths after build so available to other deps
Diffstat (limited to 'src')
-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 5495cc9..5787bd3 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -72,7 +72,8 @@ build_apps(State, Apps) ->
%% Legacy hook support
rebar_hooks:run_compile_hooks(AppDir, pre_hooks, compile, S),
build(S, AppInfo),
- rebar_hooks:run_compile_hooks(AppDir, post_hooks, compile, S)
+ rebar_hooks:run_compile_hooks(AppDir, post_hooks, compile, S),
+ true = code:add_patha(filename:join(AppDir, "ebin"))
end, Apps).
build(State, AppInfo) ->