homebrew-core/Formula/gcutil.rb

17 lines
399 B
Ruby
Raw Normal View History

require 'formula'
class Gcutil < Formula
homepage 'https://developers.google.com/compute/docs/gcutil/'
url 'https://google-compute-engine-tools.googlecode.com/files/gcutil-1.8.1.tar.gz'
sha1 '746f2d30f2bd380c9c459c0ece16937caf032b8e'
def install
libexec.install 'gcutil', 'lib'
bin.install_symlink libexec/"gcutil"
end
def test
system "#{bin}/gcutil", "version"
end
end