diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-11-28 14:59:56 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2018-11-28 14:59:56 -0500 |
commit | 6aaa54c6d14f079213f1102243edeb02c3c4f52c (patch) | |
tree | 6a16e5870af3dbaf474882f3555c0ee1f4a5778b | |
parent | d425b4e4baed1743cc2513d89423137371c68341 (diff) |
Ensure the right deps are in path
Compile time with parse transforms needs to have the deps first in scope
before the plugins
-rw-r--r-- | src/rebar_prv_compile.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl index ad012ea..cf2bcf2 100644 --- a/src/rebar_prv_compile.erl +++ b/src/rebar_prv_compile.erl @@ -195,6 +195,7 @@ build_app(AppInfo, State) -> case rebar_app_info:project_type(AppInfo) of Type when Type =:= rebar3 ; Type =:= undefined -> Compilers = rebar_state:compilers(State), + rebar_paths:set_paths([deps], State), rebar_compiler:compile_all(Compilers, AppInfo); Type -> ProjectBuilders = rebar_state:project_builders(State), |