blob: 5133382a3e58fad939749390d49e9b94cea0a2bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require 'formula'
class Gcutil < Formula
homepage 'https://developers.google.com/compute/docs/gcutil/'
url 'https://google-compute-engine-tools.googlecode.com/files/gcutil-1.8.1.tar.gz'
sha1 '746f2d30f2bd380c9c459c0ece16937caf032b8e'
def install
libexec.install 'gcutil', 'lib'
bin.install_symlink libexec/"gcutil"
end
def test
system "#{bin}/gcutil", "version"
end
end
|