mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02: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
|
end
|
||||||
|
|
||||||
def update_default_gems(gem)
|
def update_default_gems(gem)
|
||||||
|
|
||||||
author, repository = $repositories[gem.to_sym].split('/')
|
author, repository = $repositories[gem.to_sym].split('/')
|
||||||
|
|
||||||
|
puts "Update #{author}/#{repository}"
|
||||||
|
|
||||||
unless File.exist?("../../#{author}/#{repository}")
|
unless File.exist?("../../#{author}/#{repository}")
|
||||||
mkdir_p("../../#{author}")
|
mkdir_p("../../#{author}")
|
||||||
`git clone git@github.com:#{author}/#{repository}.git ../../#{author}/#{repository}`
|
`git clone git@github.com:#{author}/#{repository}.git ../../#{author}/#{repository}`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue