Bläddra i källkod

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 70d27c5720331076f52e4fd7bcd1dc8045c8c86a, it was nixed.
pull/3/head
Yurii Rashkovskii 12 år sedan
committed by Tuncer Ayaz
förälder
incheckning
9a57e06015
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      src/rebar_deps.erl

+ 2
- 1
src/rebar_deps.erl Visa fil

@ -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.

Laddar…
Avbryt
Spara