aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fleetctl.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/fleetctl.rb b/Library/Formula/fleetctl.rb
new file mode 100644
index 000000000..9148f2471
--- /dev/null
+++ b/Library/Formula/fleetctl.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Fleetctl < Formula
+ homepage 'https://github.com/coreos/fleet'
+ url 'https://github.com/coreos/fleet/archive/v0.3.0.tar.gz'
+ sha1 'fcce42bca624541f890d5ac61c79fd60a0718407'
+ head 'https://github.com/coreos/fleet.git'
+
+ depends_on 'go' => :build
+
+ def install
+ ENV['GOPATH'] = buildpath
+ system "./build"
+ bin.install 'bin/fleetctl'
+ end
+end