Sha256: cc794a246397fbbd07890631a3cb3a370b727e0bde83e690b2407ed25f9e1e65
Contents?: true
Size: 593 Bytes
Versions: 8
Compression:
Stored size: 593 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 -Dversion=#{Honeydew::VERSION}" 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 => ['server:build']
Version data entries
8 entries across 8 versions & 1 rubygems