Sha256: 0f7f66b5b3d783290289d56fe5f52b7121087d668c608c5e10ca4f2fc87768bd

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

require 'devtools'

Devtools.init_rake_tasks

Rake.application.load_imports

task('metrics:mutant').clear
namespace :metrics do
  task mutant: :coverage do
    arguments = %w[
      bundle exec mutant
      --include lib
      --since HEAD~1
      --require mutant
      --use rspec
      --zombie
    ]
    arguments.concat(%w[--jobs 4]) if ENV.key?('CIRCLECI')

    arguments.concat(%w[-- Mutant*])

    Kernel.system(*arguments) or fail 'Mutant task is not successful'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 Rakefile
mutant-0.8.15 Rakefile
mutant-0.8.14 Rakefile
mutant-0.8.13 Rakefile
mutant-0.8.12 Rakefile
mutant-0.8.11 Rakefile