Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.548 kB
require 'rake/testtask'
require 'rake/gempackagetask'
require 'rubygems/dependency_installer'
task :default => :gem
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
test.ruby_opts = ['-rhelper']
end
eval IO.read('rubygems-compile.gemspec')
Rake::GemPackageTask.new(GEM_SPEC) do |pkg|
pkg.need_zip = false
pkg.need_tar = true
end
desc 'Build the gem and install it'
task :install => :gem do
Gem::Installer.new("pkg/#{GEM_SPEC.file_name}").install
end
Jump to Line
Something went wrong with that request. Please try again.