lib/xcake/dsl/build_rule.rb in xcake-0.8.13 vs lib/xcake/dsl/build_rule.rb in xcake-0.9.0
- old
+ new
@@ -53,13 +53,13 @@
# subclasses should implement this to handle the
# configuration of the build phase
#
def configure_native_build_rule(native_build_rule, _context)
native_build_rule.name = name
- native_build_rule.compiler_spec = "com.apple.compilers.proxy.script"
+ native_build_rule.compiler_spec = 'com.apple.compilers.proxy.script'
native_build_rule.file_type = file_type
native_build_rule.script = script.strip_heredoc
- if output_files_compiler_flags.empty? then
+ if output_files_compiler_flags.empty?
output_files.each do |file|
native_build_rule.add_output_file(file)
end
else
output_files.zip(output_files_compiler_flags).each do |file, flag|