From da2d6ca8f180a1d88f08fa09812ab3b333cc5c9d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sun, 26 Jan 2020 07:37:50 +0900 Subject: [PATCH] Show the repository name before update task --- tool/sync_default_gems.rb | 3 +++ 1 file changed, 3 insertions(+) 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}`