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

24 lines (20 sloc) 0.83 kb
# (c) Copyright 2006-2007 Nick Sieger <nicksieger@gmail.com>
# See the file LICENSE.txt included with the distribution for
# software license details.
namespace :ci do
namespace :setup do
task :cucumber_report_cleanup do
rm_rf ENV["CI_REPORTS"] || "features/reports"
end
task :cucumber => :cucumber_report_cleanup do
spec_opts = ["--require", "#{File.dirname(__FILE__)}/cucumber_loader.rb",
"--format", "CI::Reporter::Cucumber"].join(" ")
ENV["CUCUMBER_OPTS"] = "#{ENV['CUCUMBER_OPTS']} #{spec_opts}"
end
task :cucumberdoc => :cucumber_report_cleanup do
spec_opts = ["--require", "#{File.dirname(__FILE__)}/cucumber_loader.rb",
"--format", "CI::Reporter::CucumberDoc"].join(" ")
ENV["CUCUMBER_OPTS"] = "#{ENV['CUCUMBER_OPTS']} #{spec_opts}"
end
end
end
Jump to Line
Something went wrong with that request. Please try again.