add target option on :simulator task

This commit is contained in:
Satoshi Ebisawa
2012-06-15 19:20:47 +09:00
parent 9887412efb
commit 01315ce30c

View File

@@ -61,7 +61,7 @@ end
desc "Run the simulator"
task :simulator => ['build:simulator'] do
app = App.config.app_bundle('iPhoneSimulator')
target = App.config.sdk_version
target = ENV['target'] || App.config.deployment_target
# Cleanup the simulator application sandbox, to avoid having old resource files there.
if ENV['clean']