1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-01-30 01:49:05 +00:00
parent 807b918796
commit 68241c2ea3

View file

@ -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