Permalink
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 582 Bytes
$LOAD_PATH.unshift 'lib'
require 'rake/testtask'
require 'fileutils'
require 'yard'
require 'yard/rake/yardoc_task'
task :default => :test
##
# Test task.
Rake::TestTask.new(:test) do |task|
task.libs << 'test'
task.test_files = FileList['test/*_test.rb']
task.verbose = true
end
##
# docs task.
YARD::Rake::YardocTask.new :yardoc do |task|
task.files = ['lib/**/*.rb']
task.options = ['--output-dir', 'doc/',
'--files', 'LICENSE HISTORY.md',
'--readme', 'README.md',
'--title', 'resque-retry documentation']
end