diff options
| author | Jeremy Daggett | 2013-03-12 16:02:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-14 15:56:39 -0700 |
| commit | 240efb2ee6f7ec97403850331ade867299eff484 (patch) | |
| tree | 654e937f2c553daa6e08d9d915f273490cc35706 /Library/Formula | |
| parent | 4b2ea73f2e622bccd7143b4f1dd7994a6cfcee5f (diff) | |
| download | homebrew-240efb2ee6f7ec97403850331ade867299eff484.tar.bz2 | |
denominator 1.1.2
Closes #19165.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/denominator.rb | 19 |
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 |
