9d2c54ceba
Closes #6560. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
20 lines
648 B
Ruby
20 lines
648 B
Ruby
class JbossForge < Formula
|
|
desc "Tools to help set up and configure a project"
|
|
homepage "https://forge.jboss.org/"
|
|
url "https://downloads.jboss.org/forge/releases/3.3.3.Final/forge-distribution-3.3.3.Final-offline.zip"
|
|
version "3.3.3.Final"
|
|
sha256 "c507bcb73140a3cad9d10e25891e58c5bbf5a10fac864805df8c214d757ac703"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
rm_f Dir["bin/*.bat"]
|
|
libexec.install %w[addons bin lib logging.properties]
|
|
bin.install_symlink libexec/"bin/forge"
|
|
end
|
|
|
|
test do
|
|
ENV["FORGE_OPTS"] = "-Duser.home=#{testpath}"
|
|
assert_match "org.jboss.forge.addon:core", shell_output("#{bin}/forge --list")
|
|
end
|
|
end
|