[iOS] Use Target#rake to execute Watch app launch task.

This commit is contained in:
Eloy Durán
2014-11-27 12:46:01 +01:00
parent c121d102f8
commit d16a593559

View File

@@ -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"