Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.799 kB
require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'resque/tasks'
require 'rake/testtask'
require 'yard'
Rake::TestTask.new do |test|
test.verbose = true
test.libs << "test/resque"
test.libs << "lib"
test.test_files = FileList['test/resque/**/*_test.rb']
test.ruby_opts = ["-w"]
end
Rake::TestTask.new(:legacy) do |test|
test.libs << "test/legacy"
test.libs << "lib"
test.test_files = FileList['test/legacy/**/*_test.rb']
test.ruby_opts = ["-w"]
end
Rake::TestTask.new(:end_to_end) do |test|
test.libs << "test/end_to_end"
test.libs << "lib"
test.test_files = FileList['test/end_to_end/**/*_test.rb']
test.ruby_opts = ["-w"]
end
task :ci => [:test, :end_to_end, :legacy]
YARD::Rake::YardocTask.new
task :docs => :yard
task :default => :ci
Jump to Line
Something went wrong with that request. Please try again.