mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Support one repository for updating the latest commits
This commit is contained in:
parent
b965e7e05e
commit
7a26021d1d
1 changed files with 5 additions and 1 deletions
|
@ -454,7 +454,11 @@ end
|
|||
|
||||
case ARGV[0]
|
||||
when "up"
|
||||
$repositories.keys.each{|gem| update_default_gems(gem.to_s)}
|
||||
if ARGV[1]
|
||||
update_default_gems(ARGV[1])
|
||||
else
|
||||
$repositories.keys.each{|gem| update_default_gems(gem.to_s)}
|
||||
end
|
||||
when "all"
|
||||
$repositories.keys.each{|gem| sync_default_gems(gem.to_s)}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue