Selaa lähdekoodia

Ensure the right deps are in path

Compile time with parse transforms needs to have the deps first in scope
before the plugins
pull/1963/head
Fred Hebert 6 vuotta sitten
vanhempi
commit
6aaa54c6d1
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      src/rebar_prv_compile.erl

+ 1
- 0
src/rebar_prv_compile.erl Näytä tiedosto

@ -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),

Ladataan…
Peruuta
Tallenna