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

Add rebar-deps env to port compiler SharedEnv
This commit is contained in:
Dave Smith 2013-05-15 07:37:03 -07:00
commit d0a3f5246a

View file

@ -100,7 +100,8 @@ compile(Config, AppFile) ->
[] ->
ok;
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
NewBins = compile_sources(Config, Specs, SharedEnv),