RISCfuture / spinoff

A DB-backed Ruby on Rails background job server with interprocess communication

This URL has Read+Write access

spinoff / Rakefile
100644 23 lines (19 sloc) 0.558 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
 
desc 'Default: run specs.'
task :default => :spec
 
desc 'Test the spinoff plugin.'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.libs << 'lib/spinoff'
  t.pattern = 'spec/*_spec.rb'
  t.spec_opts = [ '-cfs' ]
end
 
desc 'Generate documentation for the spinoff plugin.'
Rake::RDocTask.new(:doc) do |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title = 'Spinoff'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end