Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.623 kb
require 'rubygems'
require 'rake'
require 'rake/testtask'
task :default => :test
Rake::TestTask.new do |task|
task.pattern = 'test/test_*.rb'
task.verbose = true
end
desc "Publish gem and source."
task :publish => :build do
require File.dirname(__FILE__) + '/lib/resque/plugins/batched_job/version'
sh "gem push resque-batched-job-#{Resque::Plugins::BatchedJob::VERSION}.gem"
sh "git tag v#{Resque::Plugins::BatchedJob::VERSION}"
sh "git push origin v#{Resque::Plugins::BatchedJob::VERSION}"
sh "git push origin master"
end
desc "Build gem."
task :build do
sh "gem build resque-batched-job.gemspec"
end
Jump to Line
Something went wrong with that request. Please try again.