homebrew-core/Formula/jboss-forge.rb
2018-08-09 02:20:14 +08:00

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.1.Final/forge-distribution-3.9.1.Final-offline.zip"
version "3.9.1.Final"
sha256 "0ff5eb756e7ab6f0663e134e362268098dfc4df5719511bc0b036fbf40c8f75b"
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