Sha256: 1a78e695863ec0e53d805298bd48956e8e07eaa91c3112935569a1aaa0d386bd

Contents?: true

Size: 737 Bytes

Versions: 12

Compression:

Stored size: 737 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'quality/rake/task'

Quality::Rake::Task.new do |task|
  task.skip_tools = ['reek']
  task.output_dir = 'metrics'
end

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

desc 'Run features'
RSpec::Core::RakeTask.new(:feature) do |task|
  task.pattern = 'feature/**/*_spec.rb'
  task.rspec_opts = '--format doc'
end

task :clear_metrics do |_t|
  ret =
    system('git checkout coverage/.last_run.json metrics/*_high_water_mark')
  fail unless ret
end

desc 'Default: Run specs and check quality.'
task localtest: [:clear_metrics, :spec, :feature, :quality]
task default: [:localtest]

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
containerci-0.6.0 Rakefile
punchlist-1.2.0 Rakefile
punchlist-1.1.1 Rakefile
punchlist-1.1.0 Rakefile
containerci-0.5.0 Rakefile
containerci-0.4.0 Rakefile
containerci-0.3.1 Rakefile
containerci-0.3.0 Rakefile
containerci-0.2.0 Rakefile
punchlist-1.0.0 Rakefile
punchlist-0.0.2 Rakefile
punchlist-0.0.1 Rakefile