From fb9dee1e5ebc925d1345f5c089b8cd14615b026f Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Wed, 10 Dec 2014 23:38:53 +0100 Subject: [PATCH] add missing 'rake emulator' task --- lib/motion/project/template/android.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/motion/project/template/android.rb b/lib/motion/project/template/android.rb index 444b8212..d3f7cd02 100644 --- a/lib/motion/project/template/android.rb +++ b/lib/motion/project/template/android.rb @@ -579,11 +579,14 @@ namespace 'device' do end end +desc "Build the app then run it in the emulator" +task :emulator => ['build', 'emulator:install', 'emulator:start'] + desc "Build the app then run it in the device" task :device => ['build', 'device:install', 'device:start'] -desc "Build the app then run it in the emulator" -task :default => 'emulator:start' +desc "Same as 'rake emulator'" +task :default => :emulator desc "Same as 'spec:emulator'" task :spec => 'spec:emulator'