homebrew-core/Formula/js-test-driver.rb

17 lines
474 B
Ruby
Raw Normal View History

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
2012-02-11 23:31:56 +00:00
#!/bin/bash
java -jar "#{libexec}/JsTestDriver-1.3.4.b.jar" "$@"
EOS
end
end