1
0
Fork 0
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:
Hiroshi SHIBATA 2020-01-26 07:37:50 +09:00
parent 4396ced07d
commit da2d6ca8f1
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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}`