Sha256: 0154eaa7b4c5e1f7604fb065616f078f5342aa6a1da4ebbd98e2b3a45a6414fd

Contents?: true

Size: 513 Bytes

Versions: 8

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.24 Rakefile
mutant-0.8.23 Rakefile
mutant-0.8.22 Rakefile
mutant-0.8.21 Rakefile
mutant-0.8.20 Rakefile
mutant-0.8.19 Rakefile
mutant-0.8.18 Rakefile
mutant-0.8.17 Rakefile