16 lines
532 B
Ruby
16 lines
532 B
Ruby
require "formula"
|
|
|
|
class JettyRunner < Formula
|
|
desc "Use Jetty without an installed distribution"
|
|
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
|