Sha256: a882cbe650c82004620d3cca7c26a568d8d1853c0e96124c546c8fd2a3e0ba43

Contents?: true

Size: 644 Bytes

Versions: 10

Compression:

Stored size: 644 Bytes

Contents

# Copyright (c) 2006-2012 Nick Sieger <nicksieger@gmail.com>
# See the file LICENSE.txt included with the distribution for
# software license details.

require File.expand_path('../utils', __FILE__)

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
      cuke_opts = ["--require", CI::Reporter.maybe_quote_filename("#{File.dirname(__FILE__)}/cucumber_loader.rb"),
        "--format", "CI::Reporter::Cucumber"].join(" ")
      ENV["CUCUMBER_OPTS"] = "#{ENV['CUCUMBER_OPTS']} #{cuke_opts}"
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ci_reporter-1.8.4 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.8.3 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.8.2 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.8.1 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.8.0 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.7.3 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.7.2 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.7.1 lib/ci/reporter/rake/cucumber.rb
stopdropandrew_ci_reporter-1.7.0.1 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.7.0 lib/ci/reporter/rake/cucumber.rb