Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (17 sloc) 0.557 kb
c740655 Richard Huang first commit
authored
1 require 'rake'
f97ffbe can detect basic n+1 query and use spec for testing
Richard authored
2 require 'spec/rake/spectask'
c740655 Richard Huang first commit
authored
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
f97ffbe can detect basic n+1 query and use spec for testing
Richard authored
6 task :default => :spec
c740655 Richard Huang first commit
authored
7
f97ffbe can detect basic n+1 query and use spec for testing
Richard authored
8 desc 'Generate documentation for the sitemap plugin.'
c740655 Richard Huang first commit
authored
9 Rake::RDocTask.new(:rdoc) do |rdoc|
10 rdoc.rdoc_dir = 'rdoc'
11 rdoc.title = 'Bullet'
12 rdoc.options << '--line-numbers' << '--inline-source'
13 rdoc.rdoc_files.include('README')
14 rdoc.rdoc_files.include('lib/**/*.rb')
15 end
f97ffbe can detect basic n+1 query and use spec for testing
Richard authored
16
17 desc "Run all specs in spec directory"
18 Spec::Rake::SpecTask.new(:spec) do |t|
19 t.spec_files = FileList['spec/spec_helper.rb', 'spec/**/*_spec.rb']
20 end
Something went wrong with that request. Please try again.