Sha256: 2a16c6f1c0ef09cd9db30ad956c3d9e549ae9a624bb1211a69eef3fd351f8bdb

Contents?: true

Size: 667 Bytes

Versions: 8

Compression:

Stored size: 667 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts 'Run `bundle install` to install missing gems'
  exit e.status_code
end
require 'rake'
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

desc 'Run RSpec with code coverage'
task :coverage do
  ENV['COVERAGE'] = 'true'
  Rake::Task['spec'].execute
end

task default: :spec

require 'yard'
YARD::Rake::YardocTask.new

require 'rubocop/rake_task'
Rubocop::RakeTask.new

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubocop-0.14.1 Rakefile
rubocop-0.14.0 Rakefile
rubocop-0.13.1 Rakefile
rubocop-0.13.0 Rakefile
rubocop-0.12.0 Rakefile
rubocop-0.11.1 Rakefile
rubocop-0.11.0 Rakefile
rubocop-0.10.0 Rakefile