mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 01:29:00 +08:00
[builder] Do not try to compile completely empty .strings files.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-483
This commit is contained in:
@@ -518,8 +518,10 @@ EOS
|
||||
end
|
||||
|
||||
def compile_resource_to_binary_plist(path)
|
||||
App.info 'Compile', path
|
||||
sh "/usr/bin/plutil -convert binary1 \"#{path}\""
|
||||
unless File.size(path) == 0
|
||||
App.info 'Compile', path
|
||||
sh "/usr/bin/plutil -convert binary1 \"#{path}\""
|
||||
end
|
||||
end
|
||||
|
||||
def copy_resource(res_path, dest_path)
|
||||
|
||||
Reference in New Issue
Block a user