]> projects.mako.cc - selectricity-live/blob - vendor/plugins/gruff/Rakefile
d3456e4d602652e04be2d79c91834ff5833219ca
[selectricity-live] / vendor / plugins / gruff / Rakefile
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 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 plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17   rdoc.rdoc_dir = 'rdoc'
18   rdoc.title    = 'CalendarHelper'
19   rdoc.options << '--line-numbers' << '--inline-source'
20   rdoc.rdoc_files.include('README')
21   rdoc.rdoc_files.include('lib/**/*.rb')
22 end
23

Benjamin Mako Hill || Want to submit a patch?