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.648 kB
require 'bundler/gem_tasks'
require "bundler/setup"
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
require 'specjour'
command = %(
git tag v#{Specjour::VERSION} &&
rake build &&
git push &&
gem push pkg/specjour-#{Specjour::VERSION}.gem &&
git push --tags
)
puts command
puts %x(#{command})
end
Jump to Line
Something went wrong with that request. Please try again.