Sha256: d732db0c35e7f906a10d12714efd3552169609e2b152f5ab40ecc434f5e3378b

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

task default: %i[test selftest]

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

desc 'Run RuboCop::Git over itself'
task :selftest do
  require_relative 'lib/rubocop/git'
  RuboCop::Git::Runner.new.run(commits: ['v0.0.4'])
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-git2-0.1.4 Rakefile