From 01315ce30ce5e5e2f74618862a1172aca95b9cdf Mon Sep 17 00:00:00 2001 From: Satoshi Ebisawa Date: Fri, 15 Jun 2012 19:20:47 +0900 Subject: [PATCH] add target option on :simulator task --- lib/motion/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project.rb b/lib/motion/project.rb index 32e4b313..a6481157 100644 --- a/lib/motion/project.rb +++ b/lib/motion/project.rb @@ -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']