Sha256: 3a28a11f64299dbbed8c2c5c88a69065ee21ecb69e0122b201b6bc41ff7486fc
Contents?: true
Size: 479 Bytes
Versions: 5
Compression:
Stored size: 479 Bytes
Contents
require 'rubygems/package_task' require 'rake/testtask' spec = Gem::Specification.load "rb-readline.gemspec" Gem::PackageTask.new(spec) do |pkg| end Rake::TestTask.new do |t| t.libs << "test" t.warning = true t.verbose = true end desc "Install the gem locally" task :install => :gem do Dir.chdir(File.dirname(__FILE__)) do sh %{gem install --local pkg/#{spec.name}-#{spec.version}.gem} end end desc "The default is to test everything." task :default => :test
Version data entries
5 entries across 5 versions & 3 rubygems