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

ruby-changes:46003

From: nobu <ko1@a...>
Date: Fri, 24 Mar 2017 12:42:35 +0900 (JST)
Subject: [ruby-changes:46003] nobu:r58074 (trunk): Don't download from Unicode.org

nobu	2017-03-24 12:42:28 +0900 (Fri, 24 Mar 2017)

  New Revision: 58074

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

  Log:
    Don't download from Unicode.org
    
    * tool/make-snapshot: use checked out headers for Unicode, to get
      rid of downloading data files from Unicode.org.

  Modified files:
    trunk/.travis.yml
    trunk/appveyor.yml
    trunk/tool/make-snapshot
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 58073)
+++ tool/make-snapshot	(revision 58074)
@@ -330,6 +330,7 @@ def package(vcs, rev, destdir, tmp = nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L330
         "PWD"=>Dir.pwd,
         "CONFIGURE"=>"configure",
         "arch"=>"noarch",
+        "UNICODE_FILES"=>"",
       }
       vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
       args = vars.dup
@@ -339,6 +340,8 @@ def package(vcs, rev, destdir, tmp = nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L340
 
 prereq: clean-cache $(CLEAN_CACHE)
 clean-cache $(CLEAN_CACHE): after-update
+touch-unicode-files:
+update-download:: touch-unicode-files
 update-download:: update-gems
 after-update:: extract-gems
 extract-gems: update-gems
Index: appveyor.yml
===================================================================
--- appveyor.yml	(revision 58073)
+++ appveyor.yml	(revision 58074)
@@ -35,7 +35,7 @@ build_script: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L35
   - cd %Platform%-mswin_%vs%
   - ..\win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=%OPENSSL_DIR:\=/%
   - nmake -l touch-unicode-files
-  - nmake -l up
+  - nmake -l up UNICODE_FILES=.
   - nmake -l
   - nmake install-nodoc
 test_script:
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 58073)
+++ .travis.yml	(revision 58074)
@@ -44,7 +44,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L44
   - "cp -pr config.status .ext/include config_2nd"
   - "diff -ru config_1st config_2nd"
   - "make touch-unicode-files"
-  - "make after-update BASERUBY=ruby"
+  - "make after-update BASERUBY=ruby UNICODE_FILES=."
   - "make -s $JOBS"
   - "make update-rubyspec"
 

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

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