mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6730 from dearblue/presym
This commit is contained in:
+6
-6
@@ -32,12 +32,12 @@ MRuby.each_target do |build|
|
||||
file presym.list_path => ppps do
|
||||
presyms = presym.scan(ppps)
|
||||
current_presyms = presym.read_list if File.exist?(presym.list_path)
|
||||
update = presyms != current_presyms
|
||||
presym.write_list(presyms) if update
|
||||
mkdir_p presym.header_dir
|
||||
%w[id table].each do |type|
|
||||
next if !update && File.exist?(presym.send("#{type}_header_path"))
|
||||
presym.send("write_#{type}_header", presyms)
|
||||
if presyms != current_presyms
|
||||
mkdir_p presym.header_dir
|
||||
%w[id table].each do |type|
|
||||
presym.send("write_#{type}_header", presyms)
|
||||
end
|
||||
presym.write_list(presyms)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user