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

ruby-changes:35613

From: nobu <ko1@a...>
Date: Tue, 23 Sep 2014 21:09:36 +0900 (JST)
Subject: [ruby-changes:35613] nobu:r47695 (trunk): common.mk: update-gems

nobu	2014-09-23 21:09:30 +0900 (Tue, 23 Sep 2014)

  New Revision: 47695

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

  Log:
    common.mk: update-gems
    
    * common.mk (update-gems): update bundled gem files.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 47694)
+++ common.mk	(revision 47695)
@@ -1081,6 +1081,14 @@ $(srcdir)/tool/config.guess: https://github.com/ruby/ruby/blob/trunk/common.mk#L1081
 $(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)

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

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