2012-12-06 15:35:17 -05:00
|
|
|
require 'devtools'
|
2013-02-24 13:54:41 -05:00
|
|
|
Devtools.init_rake_tasks
|
2013-04-20 14:45:32 -04:00
|
|
|
|
2013-05-21 20:36:05 -04:00
|
|
|
class Rake::Task
|
|
|
|
def overwrite(&block)
|
|
|
|
@actions.clear
|
|
|
|
enhance(&block)
|
2013-04-20 20:55:09 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-05-21 20:36:05 -04:00
|
|
|
Rake.application.load_imports
|
2013-04-20 20:55:09 -04:00
|
|
|
|
2013-05-21 20:36:05 -04:00
|
|
|
Rake::Task['metrics:mutant'].overwrite do
|
2013-06-15 11:19:55 -04:00
|
|
|
$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
|
2013-04-20 14:45:32 -04:00
|
|
|
end
|