public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
tsaleh (author)
Fri Apr 06 07:28:27 -0700 2007
commit  7910643c6f48fa7d502a2a2fb50bc331f565d4a4
tree    a7fe5ad098f0f79e9883678fc2b8ec88896a6c16
parent  aabc89c561ad1d46b92bfa40b3c7d0a61f98481a
shoulda / Rakefile
100644 24 lines (18 sloc) 0.554 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
Rake::TestTask.new do |t|
  t.libs << 'test'
  t.pattern = 'test/*_test.rb'
  t.verbose = true
end
 
# Generate the RDoc documentation
 
Rake::RDocTask.new { |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title = "Shoulda -- Making your 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 'Default: run tests.'
task :default => ['test']