Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 648 Bytes
require 'bundler/gem_tasks'
require "bundler/setup"
require 'rspec/core/rake_task'
task :default => :spec
require 'yard'
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
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})
Jump to Line
Something went wrong with that request. Please try again.