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

Version Path
honeydew-0.29.1 Rakefile
honeydew-0.29.0 Rakefile
honeydew-0.28.0 Rakefile
honeydew-0.27.4 Rakefile
honeydew-0.27.3 Rakefile
honeydew-0.27.2 Rakefile
honeydew-0.27.1 Rakefile
honeydew-0.27.0 Rakefile