require 'formula' class Gcutil < Formula desc "Manage your Google Compute Engine resources" homepage 'https://cloud.google.com/compute/docs/gcutil/' url 'https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.zip' sha1 '6399fd44f373a8ddea92526ce2165af05532d36b' def install libexec.install 'gcutil', 'lib' bin.install_symlink libexec/"gcutil" end test do system "#{bin}/gcutil", "version" end end