Deactivate zombie
This commit is contained in:
parent
449baa872c
commit
8518cbf3cc
1 changed files with 9 additions and 9 deletions
18
Rakefile
18
Rakefile
|
@ -11,13 +11,13 @@ end
|
|||
Rake.application.load_imports
|
||||
|
||||
Rake::Task['metrics:mutant'].overwrite do
|
||||
project = Devtools.project
|
||||
require File.expand_path('../spec/support/zombie.rb', __FILE__)
|
||||
Zombie.setup
|
||||
status = Zombie::CLI.run(%W(::Mutant --rspec-dm2))
|
||||
if status.nonzero?
|
||||
$stderr.puts 'Zombie task is not successful'
|
||||
$stderr.puts 'Not fatal at this point of development, will be fixed before release of 0.3.0'
|
||||
end
|
||||
Kernel.exit(0) # FIXME: Prevent devtools mutant task
|
||||
$stderr.puts "Mutant self mutation (Zombie) is deactivated"
|
||||
# project = Devtools.project
|
||||
# require File.expand_path('../spec/support/zombie.rb', __FILE__)
|
||||
# Zombie.setup
|
||||
# status = Zombie::CLI.run(%W(::Mutant --rspec-dm2))
|
||||
# if status.nonzero?
|
||||
# $stderr.puts 'Zombie task is not successful'
|
||||
# $stderr.puts 'Not fatal at this point of development, will be fixed before release of 0.3.0'
|
||||
# end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue