Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 717ea55a03
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.626 kb
require 'bundler'
Bundler.setup(:default, :development)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = ["spec/resque_mailer_spec.rb"]
end
task :default => :spec
require 'yard'
YARD::Rake::YardocTask.new
desc "Push a new version to Rubygems"
task :publish do
require 'resque_mailer/version'
sh "gem build resque_mailer.gemspec"
sh "gem push resque_mailer-#{Resque::Mailer::VERSION}.gem"
sh "rm resque_mailer-#{Resque::Mailer::VERSION}.gem"
sh "git tag v#{Resque::Mailer::VERSION}"
sh "git push origin v#{Resque::Mailer::VERSION}"
sh "git push origin master"
end
Jump to Line
Something went wrong with that request. Please try again.