imedo / background

Running Ruby Blocks in the Background

This URL has Read+Write access

hvolkmer (author)
Fri Jul 04 14:38:21 -0700 2008
commit  3f489f50597cfbf5d807369da30a7f5b08e7d286
tree    bf8e32c40c89faa00c79f411c5c9bc31064174f9
parent  ff26279800a2cf3c5d39cd547d15af2426b8703f
background / Rakefile
b8673ec5 » tkadauke 2008-06-18 first commit 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 background 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 background plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'Background'
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end