mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
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:
commit
d0a3f5246a
1 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue