ruby-changes:43841
From: nobu <ko1@a...>
Date: Tue, 16 Aug 2016 11:02:44 +0900 (JST)
Subject: [ruby-changes:43841] nobu:r55913 (trunk): make-snapshot: save unicode headers
nobu 2016-08-16 11:02:33 +0900 (Tue, 16 Aug 2016) New Revision: 55913 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55913 Log: make-snapshot: save unicode headers * tool/make-snapshot (package): save generated header files from unicode data. [ruby-core:76879] [Bug #12677] Modified files: trunk/ChangeLog trunk/tool/make-snapshot Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 55912) +++ tool/make-snapshot (revision 55913) @@ -326,6 +326,10 @@ update-gems: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L326 f.puts mk end system("make", "prereq", *args.map {|arg| arg.join("=")}) + Dir.glob("enc/unicode/data/*/*.h") do |f| + FileUtils::Verbose.mkpath("."+File.dirname(f[12..-1])) + FileUtils::Verbose.mv(f, "."+f[12..-1]) + end clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk") print "prerequisites" else @@ -334,6 +338,9 @@ update-gems: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L338 vcs.after_export(".") if exported FileUtils.rm_rf(clean) unless $keep_temp FileUtils.rm_rf(".downloaded-cache") + if File.directory?(".data") + FileUtils.mv(".data", "enc/unicode/data") + end if File.exist?("gems/bundled_gems") gems = Dir.glob("gems/*.gem") gems -= File.readlines("gems/bundled_gems").map {|line| Index: ChangeLog =================================================================== --- ChangeLog (revision 55912) +++ ChangeLog (revision 55913) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Aug 16 11:02:31 2016 Nobuyoshi Nakada <nobu@r...> + + * tool/make-snapshot (package): save generated header files from + unicode data. [ruby-core:76879] [Bug #12677] + Mon Aug 15 20:31:34 2016 Nobuyoshi Nakada <nobu@r...> * node.c (dump_array): show nd_alen field in NODE_ARRAY only in -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/