diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-23 12:09:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-23 12:09:30 +0000 |
commit | 4f123ebd39a3b7dea34652626354c98da9c2f13c (patch) | |
tree | ea731a1aa8de21956471163580f87810731f3b72 | |
parent | 0b5227b8bd47211575e8239a2d2763dd3db3a979 (diff) | |
download | ruby-4f123ebd39a3b7dea34652626354c98da9c2f13c.tar.gz |
common.mk: update-gems
* common.mk (update-gems): update bundled gem files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | common.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1081,6 +1081,14 @@ $(srcdir)/tool/config.guess: $(srcdir)/tool/config.sub: $(Q) $(BASERUBY) -C $(@D) get-config_files $(@F) +update-gems: PHONY + $(Q) $(RUNRUBY) -I$(srcdir)/tool -rdownloader -ans \ + -e 'gem, ver = *$$F' \ + -e 'gem = "#{gem}-#{ver}.gem"' \ + -e 'puts "updating #{gem}"' \ + -e 'Downloader.download(:rubygems, gem, $$gemdir)' \ + -- -gemdir=$(srcdir)/gems $(srcdir)/gems/bundled_gems + info: info-program info-libruby_a info-libruby_so info-arch info-program: @echo PROGRAM=$(PROGRAM) |