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

Version Path
honeydew-0.25.0 Rakefile
honeydew-0.24.1 Rakefile
honeydew-0.24.0 Rakefile
honeydew-0.23.0 Rakefile
honeydew-0.22.0 Rakefile
honeydew-0.21.0 Rakefile
honeydew-0.20.0 Rakefile
honeydew-0.19.0 Rakefile
honeydew-0.18.0 Rakefile