Sha256: 22e70355eda2eb77d9706a31d2c1f2e11e5355f6885ac5a82fac8b35fe714ade
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' begin require 'cane/rake_task' desc 'Run cane to check quality metrics' Cane::RakeTask.new(:quality) do |cane| cane.abc_max = 10 cane.add_threshold 'coverage/.last_run.json', :>=, 100 end rescue LoadError warn 'cane not available, quality task not provided.' end RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new(:rubocop) do |task| task.patterns = ['lib/**/*.rb', 'spec/**/*.rb'] end task default: %i[spec quality rubocop]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shellject-1.0.2 | Rakefile |