Rakefile in immutability-0.0.1 vs Rakefile in immutability-0.0.2
- old
+ new
@@ -20,15 +20,16 @@
system "bundle exec rake test:coverage:run"
end
desc "Runs mutation metric for testing"
task :mutant do
- system "mutant -r immutability --use rspec Immutability* --fail-fast"
+ system "MUTANT=true mutant -r immutability --use rspec Immutability*" \
+ " --fail-fast"
end
desc "Exhort all evils"
task :exhort do
- system "mutant -r immutability --use rspec Immutability*"
+ 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)