2012-12-19 10:59:03 +00:00
|
|
|
class Gcutil < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Manage your Google Compute Engine resources"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://cloud.google.com/compute/docs/gcutil/"
|
|
|
|
url "https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.zip"
|
|
|
|
sha256 "31f438c9ce3471f1404340e3411239b28b63f117d17776271fee1e1a352f3877"
|
2012-12-19 10:59:03 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
libexec.install "gcutil", "lib"
|
2012-12-19 10:59:03 +00:00
|
|
|
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
|