2012-12-19 10:59:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gcutil < Formula
|
|
|
|
homepage 'https://developers.google.com/compute/docs/gcutil/'
|
2014-03-14 08:00:47 +00:00
|
|
|
url 'https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.14.2.zip'
|
|
|
|
sha1 'c8263333f68a7bf3468a6ed7cfe56c2390227605'
|
2012-12-19 10:59:03 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install 'gcutil', 'lib'
|
|
|
|
bin.install_symlink libexec/"gcutil"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-12-19 10:59:03 +00:00
|
|
|
system "#{bin}/gcutil", "version"
|
|
|
|
end
|
|
|
|
end
|