Sha256: 49c955d190ec8a1e471450d5a19ec244822c0c0ebaf3522d3102f22d6cc78835

Contents?: true

Size: 488 Bytes

Versions: 10

Compression:

Stored size: 488 Bytes

Contents

require 'devtools'
Devtools.init_rake_tasks

Rake.application.load_imports
task('metrics:mutant').clear

namespace :metrics do
  task mutant: :coverage do
    args = %w[
      bundle exec mutant
      --ignore-subject Unparser::Buffer#initialize
      --include lib
      --require unparser
      --use rspec
      --zombie
      --since HEAD~1
    ]
    args.concat(%w[--jobs 4]) if ENV.key?('CIRCLECI')

    system(*args.concat(%w[-- Unparser*])) or fail "Mutant task failed"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
unparser-0.4.8 Rakefile
unparser-0.4.7 Rakefile
unparser-0.4.6 Rakefile
unparser-0.4.5 Rakefile
unparser-0.4.4 Rakefile
unparser-0.4.3 Rakefile
unparser-0.4.2 Rakefile
unparser-0.4.1 Rakefile
unparser-0.4.0 Rakefile
unparser-0.3.0 Rakefile