aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJeremy Daggett2013-03-12 16:02:50 -0700
committerAdam Vandenberg2013-05-14 15:56:39 -0700
commit240efb2ee6f7ec97403850331ade867299eff484 (patch)
tree654e937f2c553daa6e08d9d915f273490cc35706 /Library
parent4b2ea73f2e622bccd7143b4f1dd7994a6cfcee5f (diff)
downloadhomebrew-240efb2ee6f7ec97403850331ade867299eff484.tar.bz2
denominator 1.1.2
Closes #19165. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/denominator.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/denominator.rb b/Library/Formula/denominator.rb
new file mode 100644
index 000000000..ce3b2bf13
--- /dev/null
+++ b/Library/Formula/denominator.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Denominator < Formula
+ # nounzip as this is a single executable file; it is a shell script wrapper around
+ # a java jar file
+ homepage 'https://github.com/Netflix/denominator/tree/master/denominator-cli'
+ url 'http://dl.bintray.com/content/netflixoss/denominator/denominator-cli/release/1.1.2/denominator?direct',
+ :using => :nounzip
+ version '1.1.2'
+ sha1 '8fd15d9579c7e1e9b79b3e1987a5dfb61499fb24'
+
+ def install
+ bin.install "denominator?direct" => "denominator"
+ end
+
+ test do
+ system "#{bin}/denominator", "help"
+ end
+end