homebrew-core/Formula/js-test-driver.rb
Greg Guthe 09ba9280c0 js-test-driver 1.3.4.b
Use the bugfix .b version of js-test-driver. Remove explicit version
number because homebrew automatically detects it.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-17 12:28:43 -07:00

16 lines
474 B
Ruby

require 'formula'
class JsTestDriver < Formula
homepage 'http://code.google.com/p/js-test-driver/'
url 'https://js-test-driver.googlecode.com/files/JsTestDriver-1.3.4.b.jar'
md5 '384a95a0504749f9ea34ba52e0a546b8'
sha1 'ce036e7c0973ff0588a52f0d3730b5c938404ed1'
def install
libexec.install "JsTestDriver-1.3.4.b.jar"
(bin+'js-test-driver').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/JsTestDriver-1.3.4.b.jar" "$@"
EOS
end
end