Sha256: 84470c38097b38a23c49a4a8e7c76390bac12417429267a8ba031b4806c5d185

Contents?: true

Size: 822 Bytes

Versions: 9

Compression:

Stored size: 822 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'coveralls/rake/task'

Coveralls::RakeTask.new

namespace :specs do
  desc 'run the trustworthy specs'
  task :safe do
    RSpec::Core::RakeTask.new(:spec) do |t|
      t.rspec_opts = "--tag ~troublesome"
    end
    Rake::Task['spec'].execute
  end

  desc 'run the shonky specs'
  task :shaky do
    RSpec::Core::RakeTask.new(:spec) do |t|
      t.rspec_opts = "--tag troublesome"
    end
    Rake::Task['spec'].execute
  end

  desc 'run all the specs'
  task :all do
    RSpec::Core::RakeTask.new(:spec) do |t|
      t.rspec_opts = "--tag troublesome"
    end
    
    RSpec::Core::RakeTask.new(:spec) do |t|
      t.rspec_opts = "--tag ~troublesome"
    end

    Rake::Task['spec'].execute
  end
end

task :default => ['specs:all', 'coveralls:push']

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
skellington-0.8.9 Rakefile
skellington-0.8.8 Rakefile
skellington-0.8.7 Rakefile
skellington-0.8.6 Rakefile
skellington-0.8.5 Rakefile
skellington-0.8.4 Rakefile
skellington-0.8.3 Rakefile
skellington-0.8.2 Rakefile
skellington-0.8.1 Rakefile