mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show the repository name before update task
This commit is contained in:
parent
4396ced07d
commit
da2d6ca8f1
1 changed files with 3 additions and 0 deletions
|
@ -374,8 +374,11 @@ def sync_lib(repo)
|
|||
end
|
||||
|
||||
def update_default_gems(gem)
|
||||
|
||||
author, repository = $repositories[gem.to_sym].split('/')
|
||||
|
||||
puts "Update #{author}/#{repository}"
|
||||
|
||||
unless File.exist?("../../#{author}/#{repository}")
|
||||
mkdir_p("../../#{author}")
|
||||
`git clone git@github.com:#{author}/#{repository}.git ../../#{author}/#{repository}`
|
||||
|
|
Loading…
Add table
Reference in a new issue