Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 0.621 kB
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new(:rcov)
task :default => :spec
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end
desc "tag, push gem, push to github"
task :prerelease do
version = `cat VERSION`.strip
command = %(
git tag v#{version} &&
rake build &&
git push &&
gem push pkg/specjour-#{version}.gem &&
git push --tags
)
puts command
puts %x(#{command})
end
Jump to Line
Something went wrong with that request. Please try again.