mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-15 02:29:17 +08:00
add target option on :simulator task
This commit is contained in:
@@ -61,7 +61,7 @@ end
|
|||||||
desc "Run the simulator"
|
desc "Run the simulator"
|
||||||
task :simulator => ['build:simulator'] do
|
task :simulator => ['build:simulator'] do
|
||||||
app = App.config.app_bundle('iPhoneSimulator')
|
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.
|
# Cleanup the simulator application sandbox, to avoid having old resource files there.
|
||||||
if ENV['clean']
|
if ENV['clean']
|
||||||
|
|||||||
Reference in New Issue
Block a user