Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 479 Bytes
require 'rubygems/package_task'
require 'rake/testtask'
spec = Gem::Specification.load "rb-readline.gemspec" do |pkg|
end do |t|
t.libs << "test"
t.warning = true
t.verbose = true
desc "Install the gem locally"
task :install => :gem do
Dir.chdir(File.dirname(__FILE__)) do
sh %{gem install --local pkg/#{}-#{spec.version}.gem}
desc "The default is to test everything."
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.