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