Sha256: d8710ab1006c60891307b0aa7fd766b52142e96d21dc3c5da0ebf3d495f255ec
Contents?: true
Size: 576 Bytes
Versions: 9
Compression:
Stored size: 576 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :server do desc 'build android server' task :build do system "cd #{android_server_path} && mvn clean package" end desc 'push the server to the device' task push: :build do system "adb push #{android_server_path}/target/honeydew-server-#{Honeydew::VERSION}.jar /data/local/tmp" end end def android_server_path File.absolute_path(File.join(File.dirname(__FILE__), 'server')) end task :build => [:spec, :build_android_server]
Version data entries
9 entries across 9 versions & 1 rubygems