Skip to content

Commit

Permalink
Show the repository name before update task
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 25, 2020
1 parent 4396ced commit da2d6ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool/sync_default_gems.rb
Expand Up @@ -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}`
Expand Down

0 comments on commit da2d6ca

Please sign in to comment.