ba68405367
Closes #35230. Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
21 lines
628 B
Ruby
21 lines
628 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.9.2.Final/forge-distribution-3.9.2.Final-offline.zip"
|
|
version "3.9.2.Final"
|
|
sha256 "b94c28ad136c611e9aae5cce4df0fec9828ee14f87389657d23e3d591d07dfc7"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8+"
|
|
|
|
def install
|
|
rm_f Dir["bin/*.bat"]
|
|
libexec.install %w[addons bin lib logging.properties]
|
|
bin.install_symlink libexec/"bin/forge"
|
|
end
|
|
|
|
test do
|
|
assert_match "org.jboss.forge.addon:core", shell_output("#{bin}/forge --list")
|
|
end
|
|
end
|