rpheath / form_assistant

Rails plugin: a custom, template-based form builder that attempts to make your forms friendly (and maybe even fun!).

This URL has Read+Write access

form_assistant / Rakefile
bd9829de » rpheath 2008-10-29 basic infrastructure for fo... 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 form_assistant plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
e80406ee » scharfie 2009-02-18 Updated Rakefile so that 'r... 11 t.libs << 'test'
bd9829de » rpheath 2008-10-29 basic infrastructure for fo... 12 t.pattern = 'test/**/*_test.rb'
13 t.verbose = true
14 end
15
16 desc 'Generate documentation for the form_assistant plugin.'
17 Rake::RDocTask.new(:rdoc) do |rdoc|
18 rdoc.rdoc_dir = 'rdoc'
19 rdoc.title = 'FormAssistant'
20 rdoc.options << '--line-numbers' << '--inline-source'
21 rdoc.rdoc_files.include('README')
22 rdoc.rdoc_files.include('lib/**/*.rb')
23 end