Sha256: 6e2a503024e4bec3067e3c12227430c0f810006c7974170cff5d53e0842cd529
Contents?: true
Size: 891 Bytes
Versions: 28
Compression:
Stored size: 891 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + "/../lib") require "poolparty" require 'git-style-binary/command' GitStyleBinary.command do banner <<-EOS Usage: #{$0} #{all_options_string} Run the verifiers on your cloud EOS short_desc "Run the verifiers on your cloud" run do |command| @loaded_clouds.each do |cld| begin if cld.verifiers.size > 0 cld.passing? vputs "Cloud passed verification" else raise "Your cloud doesn't have any verifiers!" exit 2 end rescue Exception => e cld.vputs <<-EOM Verification failed: #{e}" Please check your clouds.rb for any errors Exception: #{e.class}: #{e.message}\n\t#{e.backtrace.join("\n\t")} EOM end end end end
Version data entries
28 entries across 28 versions & 3 rubygems