2 require 'rake/testtask'
3 require 'rake/rdoctask'
5 desc 'Default: run unit tests.'
8 desc 'Test the oauth plugin.'
9 Rake::TestTask.new(:test) do |t|
11 t.pattern = 'test/**/*_test.rb'
15 desc 'Generate documentation for the oauth plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')