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

ruby-changes:35641

From: duerst <ko1@a...>
Date: Sun, 28 Sep 2014 11:14:30 +0900 (JST)
Subject: [ruby-changes:35641] duerst:r47723 (trunk): common.mk: Created new target update-unicode to download

duerst	2014-09-28 11:14:16 +0900 (Sun, 28 Sep 2014)

  New Revision: 47723

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

  Log:
    common.mk: Created new target update-unicode to download
       some Unicode data files.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47722)
+++ ChangeLog	(revision 47723)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Sep 28 11:14:14 2014  Martin Duerst <duerst@i...>
+
+	* common.mk: Created new target update-unicode to download
+	  some Unicode data files.
+
 Fri Sep 26 15:03:19 2014  Masaki Matsushita <glass.saga@g...>
 
 	* lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
Index: common.mk
===================================================================
--- common.mk	(revision 47722)
+++ common.mk	(revision 47723)
@@ -1089,6 +1089,13 @@ update-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1089
 	    -e 'Downloader.download(:rubygems, gem, $$gemdir)' \
 	    -- -gemdir=$(srcdir)/gems $(srcdir)/gems/bundled_gems
 
+update-unicode:
+	$(Q) $(BASERUBY) -I$(srcdir)/tool -rdownloader \
+	    -e 'puts "Downloading Unicode data files..."' \
+	    -e 'Downloader.download(:unicode, "UnicodeData.txt", "$(srcdir)/enc/unicode/data")' \
+	    -e 'Downloader.download(:unicode, "CompositionExclusions.txt", "$(srcdir)/enc/unicode/data")' \
+	    -e 'Downloader.download(:unicode, "NormalizationTest.txt", "$(srcdir)/enc/unicode/data")'
+
 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/

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