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:
parent
807b918796
commit
68241c2ea3
1 changed files with 9 additions and 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
|
||||
|
|
Loading…
Reference in a new issue