Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.625 kb
require 'rubygems'
require 'bundler'
require 'rake/testtask'
require 'cucumber'
require 'cucumber/rake/task'
require 'yard'
task :default => ['chef_dsl_metadata.json', :install, :test, :features]
Bundler.setup
Bundler::GemHelper.install_tasks
Rake::TestTask.new do |t|
t.pattern = 'spec/**/*_spec.rb'
end
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = ['-f', 'progress', '-t']
if ENV.has_key?('FC_FORK_PROCESS') and ENV['FC_FORK_PROCESS'] == true.to_s
t.cucumber_opts += ['~@repl']
else
t.cucumber_opts += ['~@context']
end
t.cucumber_opts += ['features']
end
YARD::Rake::YardocTask.new
Jump to Line
Something went wrong with that request. Please try again.