beast rev 2066
[beast-modified.git] / vendor / plugins / will_paginate / Rakefile
blob26c5bc0d1dfb28601709b892634661436c254559
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
5 desc 'Default: run unit tests.'
6 task :default => :test
8 desc 'Test the will_paginate plugin.'
9 Rake::TestTask.new(:test) do |t|
10   t.pattern = 'test/**/*_test.rb'
11   t.verbose = true
12 end
14 desc 'Generate RDoc documentation for the will_paginate plugin.'
15 Rake::RDocTask.new(:rdoc) do |rdoc|
16   rdoc.rdoc_dir = 'rdoc'
17   rdoc.title    = 'WillPaginate'
18   rdoc.options << '--line-numbers' << '--inline-source'
19   rdoc.rdoc_files.include('README')
20   rdoc.rdoc_files.include('lib/**/*.rb')
21 end