Sha256: c432b03b5222ce111dedfb216ebd0b037954ef8da8d9a85229b5e279efd5741d

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new do |c|
  options = ["--color"]
  options += ["--format", "documentation"]
  options += ["--format", "nested", "--out output/rspec-report.txt"]
  options += ["--format", "html", "--out output/rspec-report.html"]
  c.rspec_opts = options
end

namespace :spec do
  desc "Get code coverage for spec execution"
  RSpec::Core::RakeTask.new('cov') do |c|
    ENV['COVERAGE'] = "on"
  end
end

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
symbiont-0.1.2 Rakefile
symbiont-0.1.1 Rakefile
symbiont-0.1.0 Rakefile
symbiont-0.0.4 Rakefile
symbiont-0.0.3 Rakefile