Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.593 kb
require 'rake'
require 'rake/rdoctask'
require 'rspec/core'
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
desc 'Run specs for the steak plugin.'
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = FileList["spec/**/*_spec.rb"]
end
desc 'Generate documentation for the steak plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Steak'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.options << '--charset' << 'utf-8'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.