mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
'current_command' has to be stored in xconf
This commit is contained in:
parent
ed88055a75
commit
348d13b064
2 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ skip_or_process_dir1(AppFile, ModuleSet, Config, CurrentCodePath,
|
|||
|
||||
process_dir1(Dir, Command, DirSet, Config, CurrentCodePath,
|
||||
{DirModules, ModuleSetFile}) ->
|
||||
Config0 = rebar_config:set(Config, current_command, Command),
|
||||
Config0 = rebar_config:set_xconf(Config, current_command, Command),
|
||||
%% Get the list of modules for "any dir". This is a catch-all list
|
||||
%% of modules that are processed in addition to modules associated
|
||||
%% with this directory type. These any_dir modules are processed
|
||||
|
|
|
@ -72,7 +72,7 @@ preprocess(Config, _) ->
|
|||
%% deps-related can be executed on their directories.
|
||||
NonRawAvailableDeps = [D || D <- AvailableDeps, not D#dep.is_raw],
|
||||
|
||||
case rebar_config:get(Config, current_command, undefined) of
|
||||
case rebar_config:get_xconf(Config, current_command, undefined) of
|
||||
'update-deps' ->
|
||||
%% Skip ALL of the dep folders, we do this because we don't want
|
||||
%% any other calls to preprocess() for update-deps beyond the
|
||||
|
|
Loading…
Reference in a new issue