diff options
| author | Mathias Bynens | 2015-02-24 09:34:12 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-25 08:20:39 +0000 |
| commit | becc063beb6dbce9c2417553954d085aaa0d3e8f (patch) | |
| tree | 78b1d069fc7e491b3e2c76140932a8b05ba14367 /Library | |
| parent | 88c0e2ec5e836dc1ef13a5f6a6c846b9c01d078c (diff) | |
| download | homebrew-becc063beb6dbce9c2417553954d085aaa0d3e8f.tar.bz2 | |
rhino 1.7r5
Closes #37142.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rhino.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/rhino.rb b/Library/Formula/rhino.rb index 306136278..05ccb53fa 100644 --- a/Library/Formula/rhino.rb +++ b/Library/Formula/rhino.rb @@ -1,13 +1,17 @@ require 'formula' class Rhino < Formula - homepage 'http://www.mozilla.org/rhino/' - url 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip' - sha1 '483e097cb575c724c745edd80c9512f073bd510a' - version '1.7R4' + homepage 'https://www.mozilla.org/rhino/' + url 'https://github.com/mozilla/rhino/releases/download/Rhino1_7R5_RELEASE/rhino1_7R5.zip' + sha1 '39ada4cca8c7f651a68eda3f307ff9b68808f0ce' + version '1.7R5' def install libexec.install 'js.jar' bin.write_jar_script libexec/'js.jar', 'rhino' end + + test do + system "#{bin}/rhino", '-e', 'print(42);' + end end |
