749f0f690d
WildFly 10.0.0.Final Closes Homebrew/homebrew#48703. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
27 lines
758 B
Ruby
27 lines
758 B
Ruby
class WildflyAs < Formula
|
|
desc "Managed application runtime for building applications"
|
|
homepage "http://wildfly.org/"
|
|
url "https://download.jboss.org/wildfly/10.0.0.Final/wildfly-10.0.0.Final.tar.gz"
|
|
sha256 "e00c4e4852add7ac09693e7600c91be40fa5f2791d0b232e768c00b2cb20a84b"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
rm_f Dir["bin/*.bat"]
|
|
rm_f Dir["bin/*.ps1"]
|
|
libexec.install Dir["*"]
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
The home of WildFly Application Server 10 is:
|
|
#{opt_libexec}
|
|
You may want to add the following to your .bash_profile:
|
|
export JBOSS_HOME=#{opt_libexec}
|
|
export PATH=${PATH}:${JBOSS_HOME}/bin
|
|
EOS
|
|
end
|
|
|
|
test do
|
|
system "#{opt_libexec}/bin/standalone.sh --version | grep #{version}"
|
|
end
|
|
end
|