2012-09-10 19:00:18 -04:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
2013-06-21 17:54:32 -04:00
|
|
|
trap('INT') do |status|
|
2013-07-27 06:25:22 -04:00
|
|
|
exit! 128 + status
|
2013-06-21 17:54:32 -04:00
|
|
|
end
|
|
|
|
|
2012-09-10 19:00:18 -04:00
|
|
|
require 'mutant'
|
|
|
|
|
|
|
|
namespace =
|
2013-07-27 06:25:22 -04:00
|
|
|
if ARGV.include?('--zombie')
|
|
|
|
$stderr.puts('Running mutant zombified!')
|
2013-06-28 17:24:46 -04:00
|
|
|
Mutant::Zombifier.zombify
|
|
|
|
Zombie::Mutant
|
2012-09-10 19:00:18 -04:00
|
|
|
else
|
|
|
|
Mutant
|
|
|
|
end
|
|
|
|
|
2012-11-24 11:36:47 -05:00
|
|
|
Kernel.exit(namespace::CLI.run(ARGV))
|