Module: GClouder::Dependencies

Defined in:
lib/gclouder/dependencies.rb

Class Method Summary collapse

Class Method Details

.checkObject



5
6
7
8
9
# File 'lib/gclouder/dependencies.rb', line 5

def self.check
  %w(jq gcloud gsutil).each do |command|
    (puts "missing dependency: #{command}"; exit 1) unless system("which #{command} > /dev/null 2>&1")
  end
end