To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / ae / ae69c98de28e264015cf9984e6b6d2c4f6418806.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (584 Bytes)
| 1 |
require 'rake' |
|---|---|
| 2 |
require 'rake/testtask' |
| 3 |
require 'rake/rdoctask' |
| 4 |
|
| 5 |
desc 'Default: run unit tests.' |
| 6 |
task :default => :test |
| 7 |
|
| 8 |
desc 'Test the open_id_authentication plugin.' |
| 9 |
Rake::TestTask.new(:test) do |t| |
| 10 |
t.libs << 'lib' |
| 11 |
t.pattern = 'test/**/*_test.rb' |
| 12 |
t.verbose = true |
| 13 |
end |
| 14 |
|
| 15 |
desc 'Generate documentation for the open_id_authentication plugin.' |
| 16 |
Rake::RDocTask.new(:rdoc) do |rdoc| |
| 17 |
rdoc.rdoc_dir = 'rdoc' |
| 18 |
rdoc.title = 'OpenIdAuthentication' |
| 19 |
rdoc.options << '--line-numbers' << '--inline-source' |
| 20 |
rdoc.rdoc_files.include('README')
|
| 21 |
rdoc.rdoc_files.include('lib/**/*.rb')
|
| 22 |
end |