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.7.2.tar.gz'
sha1 '8bcff6426b107d54873844d73d4af22a3dc89155'
def install
libexec.install 'gcutil', 'lib'
bin.install_symlink libexec/"gcutil"
end
def test
system "#{bin}/gcutil", "version"
end
end