From 6aaa54c6d14f079213f1102243edeb02c3c4f52c Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 28 Nov 2018 14:59:56 -0500 Subject: Ensure the right deps are in path Compile time with parse transforms needs to have the deps first in scope before the plugins --- src/rebar_prv_compile.erl | 1 + 1 file changed, 1 insertion(+) 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), -- cgit v1.1