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