mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
640dbdd155
commit
76d205c840
1 changed files with 4 additions and 3 deletions
|
@ -411,9 +411,10 @@ module Bundler
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "#{Bundler.feature_flag.bundler_3_mode? ? :cache : :package} [OPTIONS]", "Locks and then caches all of the gems into vendor/cache"
|
desc "#{Bundler.feature_flag.bundler_3_mode? ? :cache : :package} [OPTIONS]", "Locks and then caches all of the gems into vendor/cache"
|
||||||
|
unless Bundler.feature_flag.cache_all?
|
||||||
method_option "all", :type => :boolean,
|
method_option "all", :type => :boolean,
|
||||||
:default => Bundler.feature_flag.cache_all?,
|
|
||||||
:banner => "Include all sources (including path and git)."
|
:banner => "Include all sources (including path and git)."
|
||||||
|
end
|
||||||
method_option "all-platforms", :type => :boolean, :banner => "Include gems for all platforms present in the lockfile, not only the current one"
|
method_option "all-platforms", :type => :boolean, :banner => "Include gems for all platforms present in the lockfile, not only the current one"
|
||||||
method_option "cache-path", :type => :string, :banner =>
|
method_option "cache-path", :type => :string, :banner =>
|
||||||
"Specify a different cache path than the default (vendor/cache)."
|
"Specify a different cache path than the default (vendor/cache)."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue