summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-26 07:37:50 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-26 07:38:20 +0900
commitda2d6ca8f180a1d88f08fa09812ab3b333cc5c9d (patch)
tree18a0b91c3f9598f8257b9747368c28716835da80 /tool/sync_default_gems.rb
parent4396ced07dca5599c022a7e86e8f046915982087 (diff)
Show the repository name before update task
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 03db90eb45..c065b9c468 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -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}`