Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 775 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
# Test::Unit::UI::VERBOSE do |t|
t.libs << 'lib'
t.pattern = 'test/{unit,functional,other}/**/*_test.rb'
t.verbose = false
end { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Shoulda -- Making tests easy on the fingers and eyes"
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README', 'lib/**/*.rb')
desc 'Update documentation on website'
task :sync_docs => 'rdoc' do
`rsync -ave ssh doc/`
desc 'Default: run tests.'
task :default => ['test']
Dir['tasks/*.rake'].each do |f|
load f
Jump to Line
Something went wrong with that request. Please try again.