public
Description: Shoebox helps you manage styles and scripts as first-class citizens in Rails.
Homepage:
Clone URL: git://github.com/ddollar/shoebox.git
Click here to lend your support to: shoebox and make a donation at www.pledgie.com !
David Dollar (author)
Thu Jul 30 12:51:49 -0700 2009
commit  a142b6e98cb2f83351debdff241fb62916db8154
tree    0d1271014a2cda0655e1984e537e901dbc327567
parent  e718ea5c5170761547399586f0bf7f03884f4093
shoebox / Rakefile
100644 25 lines (21 sloc) 0.687 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
 
desc 'Default: run unit tests.'
task :default => :spec
 
desc "Run all specs"
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_opts = ['--options', 'spec/spec.opts']
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_dir = 'coverage'
  t.rcov_opts = ['--exclude', '\/var\/lib\/gems,\/Library\/Ruby']
end
 
desc 'Generate documentation for the shoebox plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Shoebox'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end