Sha256: d9d478f685907308d5d10e61717a6a4ed51ea197621df3d3ca8321b2f13d3439

Contents?: true

Size: 397 Bytes

Versions: 13

Compression:

Stored size: 397 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

Bundler::GemHelper.install_tasks

task test: %i[rubocop spec]
task default: :test

# Rubocop
desc 'Run Rubocop lint checks'
task :rubocop do
  RuboCop::RakeTask.new
end

desc 'Run specs'
RSpec::Core::RakeTask.new('spec') do |task|
  task.pattern = 'spec/**/*_spec.rb'
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
autocop-0.3.0 Rakefile
autocop-0.2.6 Rakefile
autocop-0.2.5 Rakefile
autocop-0.2.4 Rakefile
autocop-0.2.3 Rakefile
autocop-0.2.2 Rakefile
autocop-0.2.1 Rakefile
autocop-0.2.0 Rakefile
autocop-0.1.4 Rakefile
autocop-0.1.3 Rakefile
autocop-0.1.2 Rakefile
autocop-0.1.1 Rakefile
autocop-0.1.0 Rakefile