PageRenderTime 17ms CodeModel.GetById 1ms app.highlight 12ms RepoModel.GetById 2ms app.codeStats 0ms

/Rakefile

http://acts-crummy.googlecode.com/
Rakefile | 23 lines | 20 code | 3 blank | 0 comment | 0 complexity | 9010346b425b2a8e3951253c820cf556 MD5 | raw file
 1require 'rake'
 2require 'rake/testtask'
 3require 'rake/rdoctask'
 4
 5desc 'Default: run unit tests.'
 6task :default => :test
 7
 8desc 'Test the acts_crummy plugin.'
 9Rake::TestTask.new(:test) do |t|
10  t.libs << 'lib'
11  t.libs << 'test'
12  t.pattern = 'test/**/*_test.rb'
13  t.verbose = true
14end
15
16desc 'Generate documentation for the acts_crummy plugin.'
17Rake::RDocTask.new(:rdoc) do |rdoc|
18  rdoc.rdoc_dir = 'rdoc'
19  rdoc.title    = 'acts_crummy'
20  rdoc.options << '--line-numbers' << '--inline-source'
21  rdoc.rdoc_files.include('README', 'RELEASE_NOTES')
22  rdoc.rdoc_files.include('lib/**/*.rb')
23end