Skip to content

Commit

Permalink
macruby_deploy should only remove source files if compilation was suc…
Browse files Browse the repository at this point in the history
…cessful
  • Loading branch information
ferrous26 committed Feb 14, 2012
1 parent b4c433f commit b1eecb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ruby_deploy
Expand Up @@ -156,11 +156,11 @@ class Deployer
if !File.exist?(obj) or File.mtime(source) > File.mtime(obj)
begin
MacRuby::Compiler.compile_file(source, archs: app_archs)
rm_rf(source)
rescue
die "Can't compile \"#{source}\""
end
end
rm_rf(source)
end
fix_install_name if File.exist?(app_macruby)
end
Expand Down

0 comments on commit b1eecb5

Please sign in to comment.