Sha256: 6736eb8e356ddbe1ef0cae19879962cd3bef7bd67dd7a5c51bfb189f2e10bb5a

Contents?: true

Size: 644 Bytes

Versions: 13

Compression:

Stored size: 644 Bytes

Contents

# Copyright (c) 2006-2010 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

13 entries across 13 versions & 4 rubygems

Version Path
ci_reporter-1.6.9 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.8 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.7 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.6 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.5 lib/ci/reporter/rake/cucumber.rb
dimkiriyenko-ci_reporter-1.6.6 lib/ci/reporter/rake/cucumber.rb
dimkiriyenko-ci_reporter-1.6.5 lib/ci/reporter/rake/cucumber.rb
dimkiriyenko-ci_reporter-1.6.4 lib/ci/reporter/rake/cucumber.rb
brasten-ci_reporter-1.6.5 lib/ci/reporter/rake/cucumber.rb
finnlabs-ci_reporter-1.6.6 lib/ci/reporter/rake/cucumber.rb
finnlabs-ci_reporter-1.6.5 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.4 lib/ci/reporter/rake/cucumber.rb
ci_reporter-1.6.3 lib/ci/reporter/rake/cucumber.rb