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

ruby-changes:35977

From: nobu <ko1@a...>
Date: Mon, 20 Oct 2014 23:58:20 +0900 (JST)
Subject: [ruby-changes:35977] nobu:r48058 (trunk): common.mk: disable force download of unicode files by default

nobu	2014-10-20 23:58:06 +0900 (Mon, 20 Oct 2014)

  New Revision: 48058

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

  Log:
    common.mk: disable force download of unicode files by default
    
    * tool/downloader.rb: add -a option to always download regardless
      existing files.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/tool/downloader.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48057)
+++ ChangeLog	(revision 48058)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Oct 20 23:58:04 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/downloader.rb: add -a option to always download regardless
+	  existing files.
+
 Mon Oct 20 23:18:18 2014  NAKAMURA Usaku  <usa@r...>
 
 	* lib/mkmf.rb: no need to convert path separator for COPY because it's
Index: common.mk
===================================================================
--- common.mk	(revision 48057)
+++ common.mk	(revision 48058)
@@ -1089,10 +1089,12 @@ update-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1089
 	    -e 'Downloader::RubyGems.download(gem)' \
 	    bundled_gems
 
+# ALWAYS_UPDATE_UNICODE = yes
+
 update-unicode: PHONY
 	$(ECHO) Downloading Unicode data files...
 	$(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \
-	    ../../../tool/downloader.rb unicode \
+	    ../../../tool/downloader.rb -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \
 	    UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt
 
 enc/unicode/data/UnicodeData.txt \
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 48057)
+++ tool/downloader.rb	(revision 48058)
@@ -113,6 +113,8 @@ if $0 == __FILE__ https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L113
       ARGV.shift
     when '-e'
       ims = nil
+    when '-a'
+      ims = true
     when /\A-/
       abort "#{$0}: unknown option #{ARGV[0]}"
     else

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

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