diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-30 01:49:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-30 01:49:05 +0000 |
commit | 68241c2ea3f2ff69f99a7338d71fb24de8a21afc (patch) | |
tree | dfa628e44a2a6e033f6157bff261d672a6b93426 /common.mk | |
parent | 807b918796973c8e9a33f5161fb5b9b1da6fcfc2 (diff) |
common.mk: update-bundled_gems
* common.mk (update-bundled_gems): to update version numbers in
gems/bundled_gems file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1002,6 +1002,15 @@ extract-gems: PHONY -e 'Gem.unpack("#{gem}-#{ver}.gem")' \ bundled_gems +update-bundled_gems: PHONY + $(Q) $(RUNRUBY) -rrubygems \ + -pla \ + -e '$$_=Gem::SpecFetcher.fetcher.detect(:latest) {|s|' \ + -e 'break "#{s.name} #{s.version}" if s.platform=="ruby"&&s.name==$$F[0]' \ + -e '}' \ + "$(srcdir)/gems/bundled_gems" | \ + "$(srcdir)/tool/ifchange" "$(srcdir)/gems/bundled_gems" - + ### set the following environment variable or uncomment the line if ### the Unicode data files should be updated completely on every update ('make up',...). # ALWAYS_UPDATE_UNICODE = yes |