Sha256: 72e527b5d0b65a1afa18cba23a293c04a33855cbe89a121bb026a130b420d655

Contents?: true

Size: 427 Bytes

Versions: 8

Compression:

Stored size: 427 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
  task.fail_on_error = false
end

task default: [:rubocop, :spec]

desc 'Runs code coverage'
task :rcov do
  ENV['COVERAGE'] = 'true'
  Rake::Task[:spec].invoke
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
eligible-2.8.2 Rakefile
eligible-2.8.1 Rakefile
eligible-2.8.0 Rakefile
eligible-2.7.0 Rakefile
eligible-2.6.3 Rakefile
eligible-2.6.2 Rakefile
eligible-2.6.1 Rakefile
eligible-2.6.0 Rakefile