homebrew-core/Formula/etcdctl.rb
Stian Eikeland 042360de94 etcdctl 0.2.0
Closes Homebrew/homebrew#25516.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-01-18 13:27:44 -06:00

16 lines
382 B
Ruby

require 'formula'
class Etcdctl < Formula
homepage 'https://github.com/coreos/etcdctl'
url 'https://github.com/coreos/etcdctl/archive/v0.2.0.tar.gz'
sha1 '6370bd86f3ab0264cf142db04c367e10e7f64a3d'
head 'https://github.com/coreos/etcdctl.git'
depends_on 'go' => :build
def install
ENV['GOPATH'] = buildpath
system "./build"
bin.install 'etcdctl'
end
end