diff --git a/lib/motion/project.rb b/lib/motion/project.rb index 9487d295..d263519c 100644 --- a/lib/motion/project.rb +++ b/lib/motion/project.rb @@ -134,8 +134,11 @@ end end +desc "Build archive and deploy on the device" +task :device => [:archive, :deploy] + desc "Deploy on the device" -task :device => :archive do +task :deploy do App.info 'Deploy', App.config.archive device_id = (ENV['id'] or App.config.device_id) unless App.config.provisioned_devices.include?(device_id)