homebrew-core/Formula/jboss-forge.rb
George Gastaldi 58b6a42a59 jboss-forge 3.5.0.Final
Closes #9622.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-04 09:05:31 +01:00

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.5.0.Final/forge-distribution-3.5.0.Final-offline.zip"
version "3.5.0.Final"
sha256 "85c187e97c9d7eda1a540c07d15050ae5bc7c2c0edb1df93abf05279098bb997"
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