mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-14 12:13:04 +08:00
[iOS] Use Target#rake to execute Watch app launch task.
This commit is contained in:
@@ -81,9 +81,7 @@ desc "Run the watch app on the sim"
|
||||
task :simulate_watch_app do
|
||||
# TODO need a way to identify a watch extension from other extensions
|
||||
extension = App.config.targets.first
|
||||
Dir.chdir extension.path do
|
||||
sh "env #{extension.environment_variables} rake simulator"
|
||||
end
|
||||
extension.rake('simulator')
|
||||
end
|
||||
|
||||
desc "Run the simulator"
|
||||
|
||||
Reference in New Issue
Block a user