Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (20 sloc) 0.617 kb
4530e28 Luismi Cavallé First commit
authored
1 require 'rake'
2 require 'rake/rdoctask'
323af02 Álvaro Bautista Pino using rspec 2.0.0.a9
alvarobp authored
3 require 'rspec/core'
4 require 'rspec/core/rake_task'
4530e28 Luismi Cavallé First commit
authored
5
6 desc 'Default: run specs.'
7 task :default => :spec
8
f03ccac Luismi Cavallé Steak! 'cause cucumbers are for veggies
authored
9 desc 'Run specs for the steak plugin.'
1cb903c Luismi Cavallé Rename deprecated `Rspec` constant
authored
10 RSpec::Core::RakeTask.new(:spec) do |t|
c8cfc20 Luismi Cavallé Several fixes to make specs pass with Ruby 1.9.2
authored
11 t.skip_bundler = true
323af02 Álvaro Bautista Pino using rspec 2.0.0.a9
alvarobp authored
12 t.pattern = FileList["spec/**/*_spec.rb"]
4530e28 Luismi Cavallé First commit
authored
13 end
14
f03ccac Luismi Cavallé Steak! 'cause cucumbers are for veggies
authored
15 desc 'Generate documentation for the steak plugin.'
4530e28 Luismi Cavallé First commit
authored
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
f03ccac Luismi Cavallé Steak! 'cause cucumbers are for veggies
authored
18 rdoc.title = 'Steak'
4530e28 Luismi Cavallé First commit
authored
19 rdoc.options << '--line-numbers' << '--inline-source'
f03ccac Luismi Cavallé Steak! 'cause cucumbers are for veggies
authored
20 rdoc.options << '--charset' << 'utf-8'
21 rdoc.rdoc_files.include('README.rdoc')
4530e28 Luismi Cavallé First commit
authored
22 rdoc.rdoc_files.include('lib/**/*.rb')
23 end
Something went wrong with that request. Please try again.