Procházet zdrojové kódy

Merge pull request #85 from ratelle/rebar-deps-dir-in-port-compiler

Add rebar-deps env to port compiler SharedEnv
pull/3/head
Dave Smith před 12 roky
rodič
revize
d0a3f5246a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/rebar_port_compiler.erl

+ 2
- 1
src/rebar_port_compiler.erl Zobrazit soubor

@ -100,7 +100,8 @@ compile(Config, AppFile) ->
[] -> [] ->
ok; ok;
Specs -> Specs ->
SharedEnv = rebar_config:get_env(Config, ?MODULE),
SharedEnv = rebar_config:get_env(Config, rebar_deps) ++
rebar_config:get_env(Config, ?MODULE),
%% Compile each of the sources %% Compile each of the sources
NewBins = compile_sources(Config, Specs, SharedEnv), NewBins = compile_sources(Config, Specs, SharedEnv),

Načítá se…
Zrušit
Uložit