Etcdctl 0.1.2

etcdctl is the default command line client for etcd.

Closes Homebrew/homebrew#23197.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Stian Eikeland 2013-10-11 12:13:14 +02:00 committed by Adam Vandenberg
parent 5c10ca3727
commit 485747af49

16
Formula/etcdctl.rb Normal file
View file

@ -0,0 +1,16 @@
require 'formula'
class Etcdctl < Formula
homepage 'https://github.com/coreos/etcdctl'
url 'https://github.com/coreos/etcdctl/archive/v0.1.2.tar.gz'
sha1 '93befc2b5a9951ba6e9a94a969535ee8d695e693'
head 'https://github.com/coreos/etcdctl.git'
depends_on 'go' => :build
def install
ENV['GOPATH'] = buildpath
system "./build"
bin.install 'etcdctl'
end
end