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
This commit is contained in:
parent
86006209cd
commit
e7effb1e8d
@ -1,3 +1,8 @@
|
|||||||
|
Tue Aug 16 11:02:31 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Mon Aug 15 20:31:34 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* node.c (dump_array): show nd_alen field in NODE_ARRAY only in
|
* node.c (dump_array): show nd_alen field in NODE_ARRAY only in
|
||||||
|
@ -326,6 +326,10 @@ update-gems:
|
|||||||
f.puts mk
|
f.puts mk
|
||||||
end
|
end
|
||||||
system("make", "prereq", *args.map {|arg| arg.join("=")})
|
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")
|
clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk")
|
||||||
print "prerequisites"
|
print "prerequisites"
|
||||||
else
|
else
|
||||||
@ -334,6 +338,9 @@ update-gems:
|
|||||||
vcs.after_export(".") if exported
|
vcs.after_export(".") if exported
|
||||||
FileUtils.rm_rf(clean) unless $keep_temp
|
FileUtils.rm_rf(clean) unless $keep_temp
|
||||||
FileUtils.rm_rf(".downloaded-cache")
|
FileUtils.rm_rf(".downloaded-cache")
|
||||||
|
if File.directory?(".data")
|
||||||
|
FileUtils.mv(".data", "enc/unicode/data")
|
||||||
|
end
|
||||||
if File.exist?("gems/bundled_gems")
|
if File.exist?("gems/bundled_gems")
|
||||||
gems = Dir.glob("gems/*.gem")
|
gems = Dir.glob("gems/*.gem")
|
||||||
gems -= File.readlines("gems/bundled_gems").map {|line|
|
gems -= File.readlines("gems/bundled_gems").map {|line|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user