Sha256: 58e80d6ac333cc2634704524da7acc23adf802c2dc029f1480600579cbd0e6af

Contents?: true

Size: 521 Bytes

Versions: 10

Compression:

Stored size: 521 Bytes

Contents

namespace :ci do
  namespace :setup do
    task :spinach_report_cleanup do
      rm_rf ENV["CI_REPORTS"] || "features/reports"
    end

    task :spinach => :spinach_report_cleanup do
      loader = File.expand_path('prepare_ci_reporter.rb', ENV["SPINACH_SUPPORT_PATH"] || 'features/support')
      if !File.exist? loader
        File.open(loader, 'w') do |f|
          f.puts "require 'ci/reporter/rake/spinach_loader'"
        end
        at_exit do
          File.unlink loader
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ci_reporter-1.9.3 lib/ci/reporter/rake/spinach.rb
ci_reporter_spinach-1.0.0 lib/ci/reporter/rake/spinach.rb
ci_reporter_spinach-0.0.1 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.9.2 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.9.1 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.9.0 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.8.4 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.8.3 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.8.2 lib/ci/reporter/rake/spinach.rb
ci_reporter-1.8.1 lib/ci/reporter/rake/spinach.rb