Skip to content
Newer
Older
100644 23 lines (19 sloc) 589 Bytes
e69870d @dfl adding test
authored Jun 3, 2008
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 factories-and-workers 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 factorires-and-workers plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'factories-and-workers'
19 rdoc.options << '--line-numbers' << '--inline-source'
b8adebe @dfl adding singular valid attribute method. also pass true to make the va…
authored Jun 13, 2008
20 rdoc.rdoc_files.include('README.rdoc')
e69870d @dfl adding test
authored Jun 4, 2008
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end
Something went wrong with that request. Please try again.