Browse Source

add deps to code paths after build so available to other deps

pull/3/head
Tristan Sloughter 10 years ago
parent
commit
5c465514b2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/rebar_prv_compile.erl

+ 2
- 1
src/rebar_prv_compile.erl View File

@ -72,7 +72,8 @@ build_apps(State, Apps) ->
%% Legacy hook support %% Legacy hook support
rebar_hooks:run_compile_hooks(AppDir, pre_hooks, compile, S), rebar_hooks:run_compile_hooks(AppDir, pre_hooks, compile, S),
build(S, AppInfo), 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). end, Apps).
build(State, AppInfo) -> build(State, AppInfo) ->

Loading…
Cancel
Save