[前][次][番号順一覧][スレッド一覧]

ruby-changes:41620

From: nobu <ko1@a...>
Date: Sat, 30 Jan 2016 10:48:06 +0900 (JST)
Subject: [ruby-changes:41620] nobu:r53694 (trunk): common.mk: update-bundled_gems

nobu	2016-01-30 10:49:05 +0900 (Sat, 30 Jan 2016)

  New Revision: 53694

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53694

  Log:
    common.mk: update-bundled_gems
    
    * common.mk (update-bundled_gems): to update version numbers in
      gems/bundled_gems file.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 53693)
+++ common.mk	(revision 53694)
@@ -1002,6 +1002,15 @@ extract-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1002
 	    -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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]