free_mutant/bin/mutant

15 lines
288 B
Text
Raw Normal View History

#!/usr/bin/env ruby
require 'mutant'
namespace =
if File.basename($0) == 'zombie'
$stderr.puts('Detected zombie environment...')
require File.expand_path('../../spec/support/zombie.rb', __FILE__)
Zombie.setup
else
Mutant
end
Kernel.exit(namespace::CLI.run(ARGV))