Skip to content

HTTPS clone URL

Subversion checkout URL

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