Sha256: d3de3e00645e5ebeb6ebbc701cac37eeac08920bbf8db87f9738f516c1f1a8e8

Contents?: true

Size: 822 Bytes

Versions: 6

Compression:

Stored size: 822 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'
require 'rubocop/rake_task'
RSpec::Core::RakeTask.new(:spec)

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

desc 'Run RuboCop over itself'
RuboCop::RakeTask.new(:internal_investigation)

task default: [:spec, :internal_investigation]

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

RuboCop::RakeTask.new

task :console do
  require 'irb'
  require 'irb/completion'
  require 'rubocop'
  ARGV.clear
  IRB.start
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubocop-0.29.1 Rakefile
rubocop-0.29.0 Rakefile
rubocop-0.28.0 Rakefile
rubocop-0.27.1 Rakefile
rubocop-0.27.0 Rakefile
rubocop-0.26.1 Rakefile