瀏覽代碼

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

pull/3/head
Tristan Sloughter 10 年之前
父節點
當前提交
5c465514b2
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      src/rebar_prv_compile.erl

+ 2
- 1
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) ->

Loading…
取消
儲存