Sha256: e0a34b20a34a654ccd4df4a9014ce9722d2edcc1958428c8814dbda58dde8bf6

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 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"
      ENV["RSPECOPTS"] ||= ""
      ENV["RSPECOPTS"] << [" --require", "#{File.dirname(__FILE__)}/rspec_loader.rb", 
        "--format", "CI::Reporter::RSpec"].join(" ")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ci_reporter-1.3 lib/ci/reporter/rake/rspec.rb
ci_reporter-1.3.1 lib/ci/reporter/rake/rspec.rb