Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (42 sloc) 1.24 KB
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'jeweler'
require './lib/android-adb/version.rb'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "android-adb"
gem.version = AndroidAdb::Version::STRING
gem.homepage = "http://github.com/nicstrong/android-adb"
gem.license = "Apache 2.0"
gem.summary = %Q{Ruby bindings for the Android SDK adb command.}
#gem.description = %Q{TODO: longer description of your gem}
gem.email = "nic.strong@gmail.com"
gem.authors = ["Nic Strong"]
# Depencencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
#require 'rcov/rcovtask'
#Rcov::RcovTask.new do |test|
# test.libs << 'test'
# test.pattern = 'test/**/test_*.rb'
# test.verbose = true
#end
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb']
end
task :default => :test