From 240efb2ee6f7ec97403850331ade867299eff484 Mon Sep 17 00:00:00 2001 From: Jeremy Daggett Date: Tue, 12 Mar 2013 16:02:50 -0700 Subject: denominator 1.1.2 Closes #19165. Signed-off-by: Adam Vandenberg --- Library/Formula/denominator.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/denominator.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3