diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-16 02:02:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-16 02:02:33 +0000 |
commit | e7effb1e8d548004d24f57e0ac03668222b776fd (patch) | |
tree | a28024ecdbf3f50098f53697e216c78c95e82222 /tool/make-snapshot | |
parent | 86006209cdcf026dbd394819b64a1bfb4d4c2ebc (diff) |
make-snapshot: save unicode headers
* tool/make-snapshot (package): save generated header files from
unicode data. [ruby-core:76879] [Bug #12677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 73278a34bc..36a83ad658 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -326,6 +326,10 @@ update-gems: 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: 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| |