Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (26 sloc) 0.726 kB
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
desc "Run all examples"
RSpec::Core::RakeTask.new('examples') do |c|
c.rspec_opts = '-Ispec'
end
task :test => [:examples, :cucumber]
task :default => :test
desc "Run specs with RCov"
RSpec::Core::RakeTask.new(:examples_with_coverage) do |t|
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
t.rspec_opts = '-Ispec'
end
require 'rake'
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'carbon'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
require 'cucumber/rake/task'
Cucumber::Rake::Task.new
Jump to Line
Something went wrong with that request. Please try again.