Sha256: 40c0a3f0d4e2a7c82687ac6140592312bfd3d7c971958d39e50bed49c4e48e89

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 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 & 2 rubygems

Version Path
rspec-block_is_expected-1.0.3 Rakefile
month-serializer-1.0.1 Rakefile
month-serializer-1.0.0 Rakefile
rspec-block_is_expected-1.0.2 Rakefile
rspec-block_is_expected-1.0.1 Rakefile
rspec-block_is_expected-1.0.0 Rakefile