We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d422f commit ce9a712Copy full SHA for ce9a712
compress
48.7 KB
localize.rb
@@ -37,15 +37,13 @@ def write_compressed(out, str)
37
Tempfile.create('localization_values') do |file|
38
file.write(str)
39
file.close
40
- sh("/Users/meisel/Library/Developer/Xcode/DerivedData/buildo-dwqiyznkrgywrwdeidhbstleyeug/Build/Products/Debug/buildo #{file.path} #{out}")
41
- # sh("/Users/meisel/projects/buildo/compress #{file.path} #{out}")
+ sh("./compress #{file.path} #{out}")
42
end
43
44
45
write_compressed("#{out_dir}/keys.json.lzfse", keys.to_json)
46
47
lang_to_map.each do |lang, map|
48
values = keys.map { |key| map[key] }
49
- puts "#{out_dir}/#{lang}.values.json.lzfse"
50
write_compressed("#{out_dir}/#{lang}.values.json.lzfse", values.to_json)
51
0 commit comments