homebrew-core/Formula/gcutil.rb

17 lines
392 B
Ruby
Raw Normal View History

require 'formula'
class Gcutil < Formula
homepage 'https://developers.google.com/compute/docs/gcutil/'
url 'https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.13.0.zip'
sha1 'c7a5cf7f5e0aa5e1eff20147532a320a8684ae45'
def install
libexec.install 'gcutil', 'lib'
bin.install_symlink libexec/"gcutil"
end
def test
system "#{bin}/gcutil", "version"
end
end