Sha256: d5eb6b5a59a57ebc6540a2405ed43232579f09258ce1c4e5233ee5ba8ce3e067

Contents?: true

Size: 537 Bytes

Versions: 6

Compression:

Stored size: 537 Bytes

Contents

require 'bundler/gem_tasks'

begin
  require 'wwtd/tasks'
rescue LoadError
  puts 'failed to load wwtd'
end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  # puts "failed to load wwtd or rspec, probably because bundled --without-development"
  task :spec do
    warn 'rspec is disabled'
  end
end
task :test => :spec

begin
  require 'rubocop/rake_task'
  RuboCop::RakeTask.new
rescue LoadError
  task :rubocop do
    warn 'RuboCop is disabled'
  end
end

task :default => [:test, :rubocop]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-pending_for-0.1.13 Rakefile
rspec-pending_for-0.1.12 Rakefile
rspec-pending_for-0.1.11 Rakefile
rspec-pending_for-0.1.10 Rakefile
rspec-pending_for-0.1.9 Rakefile
rspec-pending_for-0.1.8 Rakefile