2014-08-09 23:27:31 +00:00
|
|
|
class JettyRunner < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Use Jetty without an installed distribution"
|
2015-10-17 08:06:08 +00:00
|
|
|
homepage "https://www.eclipse.org/jetty/documentation/9.2.2.v20140723/runner.html"
|
2014-08-09 23:27:31 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "6b7ba03e23f65f86f946e19860da10afb326f13c74abfb84718db07280201e5c"
|
2014-08-09 23:27:31 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir["*"]
|
|
|
|
|
|
|
|
bin.mkpath
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.write_jar_script libexec/"jetty-runner-#{version}.jar", "jetty-runner"
|
2014-08-09 23:27:31 +00:00
|
|
|
end
|
|
|
|
end
|