Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.59 kB
require 'rubygems'
require 'rubygems/package_task'
def gemspec
$webmachine_gemspec ||= Gem::Specification.load("webmachine.gemspec")
end
Gem::PackageTask.new(gemspec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
task :gem => :gemspec
desc %{Validate the gemspec file.}
task :gemspec do
gemspec.validate
end
desc %{Release the gem to RubyGems.org}
task :release => :gem do
system "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
end
require 'rspec/core'
require 'rspec/core/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.