A little sanity for our infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
320 B

#!/usr/bin/env ruby
require 'rubygems'
require 'bundler/setup'
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sanity'
options = Sanity::Options.parse(ARGV)
target = ARGV.pop
raise "No target given" unless target
Sanity::Runner.new(target, options).check!