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