Sha256: 04762daccf196499cf01552a3b393c41ef688a3d7f7fb4969ee8011c57dbb080

Contents?: true

Size: 671 Bytes

Versions: 2

Compression:

Stored size: 671 Bytes

Contents

# frozen_string_literal: true

# require 'mutant'
# require 'dry/inflector'

require 'rspec/core/rake_task'

namespace :spec do
  desc 'run RSpec'
  RSpec::Core::RakeTask.new(:rspec) do |task|
    task.rspec_opts = '--format documentation'
  end

  desc 'run SimpleCov'
  task :simplecov do
    ENV['COVERAGE'] = 'true'
    Rake::Task['spec:rspec'].invoke
  end

  # desc 'run Mutant'
  # task :mutant, [:subject] do |_, args|
  #   subjects = [args[:subject]].compact
  #   subjects << 'Mnogootex*' if subjects.empty?
  #   successful = ::Mutant::CLI.run(%w[--use rspec --fail-fast] + subjects)
  #   raise('Mutant task is not successful') unless successful
  # end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mnogootex-2.0.0 Rakefile
mnogootex-1.1.0 Rakefile