mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-14 12:13:04 +08:00
rake build now honors the 'keep_temps' env variable, if set, llvm bitcode and asm files will not be deleted from the build directory
This commit is contained in:
@@ -131,7 +131,7 @@ module Motion; module Project;
|
||||
arch_obj = File.join(files_build_dir, "#{path}.#{arch}.o")
|
||||
sh "#{cc} -fexceptions -c -arch #{arch} \"#{asm}\" -o \"#{arch_obj}\""
|
||||
|
||||
[bc, asm].each { |x| File.unlink(x) }
|
||||
[bc, asm].each { |x| File.unlink(x) } unless ENV['keep_temps']
|
||||
arch_objs << arch_obj
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user