Sha256: df5edaebcdc80525155f3404fb083ceb14a5589698e30c2a50600f9d1117f6a3

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

# (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 :rspec do
      rm_rf ENV["CI_REPORTS"] || "spec/reports"
      spec_opts = ["--require", "#{File.dirname(__FILE__)}/rspec_loader.rb",
        "--format", "CI::Reporter::RSpec"].join(" ")
      ENV["SPEC_OPTS"] = "#{ENV['SPEC_OPTS']} #{spec_opts}"
      # Pre RSpec 1.0.6
      ENV["RSPECOPTS"] = "#{ENV['RSPECOPTS']} #{spec_opts}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ci_reporter-1.3.5 lib/ci/reporter/rake/rspec.rb
ci_reporter-1.4 lib/ci/reporter/rake/rspec.rb