homebrew-core/Formula/jetty-runner.rb

16 lines
479 B
Ruby
Raw Normal View History

require "formula"
class JettyRunner < Formula
homepage "http://www.eclipse.org/jetty/documentation/9.2.2.v20140723/runner.html"
url "http://central.maven.org/maven2/org/eclipse/jetty/jetty-runner/9.2.2.v20140723/jetty-runner-9.2.2.v20140723.jar"
version "9.2.2.v20140723"
sha1 "0be6af27dbd282bd0a2b566615dd39e53e706145"
def install
libexec.install Dir["*"]
bin.mkpath
bin.write_jar_script libexec/"jetty-runner-#{version}.jar" , "jetty-runner"
end
end