Sha256: 285816ea342103c5158e0575f97bb38f43d67baddf8eb92ac4a5c0c411331b99

Contents?: true

Size: 786 Bytes

Versions: 4

Compression:

Stored size: 786 Bytes

Contents

# encoding: utf-8

require "bundler/setup"
require "rubygems"

# Loads bundler tasks
Bundler::GemHelper.install_tasks

# Loads the Hexx::RSpec and its tasks
begin
  require "hexx-suit"
  Hexx::Suit.install_tasks
rescue LoadError
  require "hexx-rspec"
  Hexx::RSpec.install_tasks
end

desc "Runs specs and check coverage"
task :default do
  system "bundle exec rake test:coverage:run"
end

desc "Runs mutation metric for testing"
task :mutant do
  system "MUTANT=true mutant -r immutability --use rspec Immutability*" \
         " --fail-fast"
end

desc "Exhort all evils"
task :exhort do
  system "MUTANT=true mutant -r immutability --use rspec Immutability*"
end

desc "Runs all the necessary metrics before making a commit"
task prepare: %w(exhort check:inch check:rubocop check:fu)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
immutability-0.0.5 Rakefile
immutability-0.0.4 Rakefile
immutability-0.0.3 Rakefile
immutability-0.0.2 Rakefile