aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSteven Degutis2014-07-21 16:14:23 -0500
committerMike McQuaid2014-07-22 14:14:05 +0100
commitb5062a9ddb1bcbae5ce1654f2d1882b6907fce32 (patch)
treee7c7f82b25fae5e1aae1cd16fb058f0ee88682d8 /Library/Formula
parenta1c3b9a32c3fc40675e529485c6d1bb5db10657e (diff)
downloadhomebrew-b5062a9ddb1bcbae5ce1654f2d1882b6907fce32.tar.bz2
hydra-cli 1.0 (new formula)
This utility is for interfacing with Hydra from the command line: https://github.com/sdegutis/hydra
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hydra-cli.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/hydra-cli.rb b/Library/Formula/hydra-cli.rb
new file mode 100644
index 000000000..eba18be45
--- /dev/null
+++ b/Library/Formula/hydra-cli.rb
@@ -0,0 +1,16 @@
+require "formula"
+
+class HydraCli < Formula
+ homepage 'https://github.com/sdegutis/hydra-cli'
+ url 'https://github.com/sdegutis/hydra-cli/archive/1.0.tar.gz'
+ sha1 '15906ca4255839844635f26eab83843f0426b5f9'
+ head 'https://github.com/sdegutis/hydra-cli.git'
+
+ def install
+ system "make", "install", "PREFIX=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/hydra", "-h"
+ end
+end