mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Restore ability to specify deps_dir on the command line
It was previously possible to run `rebar compile deps_dir=/path/to/deps`,
but as of 70d27c5720
, it was nixed.
This commit is contained in:
parent
22b703efa8
commit
9a57e06015
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ setup_env(Config) ->
|
|||
%% Sets a default if root config has no deps_dir set
|
||||
set_shared_deps_dir(Config, []) ->
|
||||
rebar_config:set_xconf(Config, deps_dir,
|
||||
rebar_config:get_local(Config, deps_dir, "deps"));
|
||||
rebar_config:get_local(Config, deps_dir,
|
||||
rebar_config:get_global(Config, deps_dir, "deps")));
|
||||
set_shared_deps_dir(Config, _DepsDir) ->
|
||||
Config.
|
||||
|
||||
|
|
Loading…
Reference in a new issue