Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (18 sloc) 0.57 kB
0607826 Added rake test task
tsaleh authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 Rake::TestTask.new do |t|
6 t.libs << 'test'
7 t.pattern = 'test/*_test.rb'
8 t.verbose = true
9 end
10
1ecd029 - documentation
tsaleh authored
11 # Generate the RDoc documentation
12
13 Rake::RDocTask.new { |rdoc|
14 rdoc.rdoc_dir = 'doc'
15 rdoc.title = "ThoughtBot Test Helpers -- Making your tests easy on the fingers and eyes"
16 rdoc.options << '--line-numbers' << '--inline-source'
17 rdoc.template = "#{ENV['template']}.rb" if ENV['template']
18 rdoc.rdoc_files.include('README', 'lib/**/*.rb')
19 }
20
0607826 Added rake test task
tsaleh authored
21 desc 'Default: run tests.'
22 task :default => ['test']
23
Something went wrong with that request. Please try again.