homebrew-core/Formula/gcutil.rb

17 lines
400 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.11.0.tar.gz'
sha1 'bb68d4bd34731361e6b99f015546016b5d34bf13'
def install
libexec.install 'gcutil', 'lib'
bin.install_symlink libexec/"gcutil"
end
def test
system "#{bin}/gcutil", "version"
end
end