Skip to content
Newer
Older
100644 23 lines (19 sloc) 556 Bytes
8eac38f @sikachu Extract module and tests from rails
sikachu authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
7d22296 @sikachu Use plugin generator to fix the scaffold. Copy some of the actionpack…
sikachu authored
4
8eac38f @sikachu Extract module and tests from rails
sikachu authored
5 desc 'Default: run unit tests.'
6 task :default => :test
7d22296 @sikachu Use plugin generator to fix the scaffold. Copy some of the actionpack…
sikachu authored
7
8eac38f @sikachu Extract module and tests from rails
sikachu authored
8 desc 'Test the verification plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
7d22296 @sikachu Use plugin generator to fix the scaffold. Copy some of the actionpack…
sikachu authored
11 t.libs << 'test'
8eac38f @sikachu Extract module and tests from rails
sikachu authored
12 t.pattern = 'test/**/*_test.rb'
13 end
7d22296 @sikachu Use plugin generator to fix the scaffold. Copy some of the actionpack…
sikachu authored
14
8eac38f @sikachu Extract module and tests from rails
sikachu authored
15 desc 'Generate documentation for the verification plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'Verification'
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end
Something went wrong with that request. Please try again.