homebrew-core/Formula/jboss-forge.rb
George Gastaldi 9e6ff9b635 jboss-forge 3.0.1.Final
Closes Homebrew/homebrew#50172.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-03-19 19:13:35 +08:00

20 lines
647 B
Ruby

class JbossForge < Formula
desc "Tools to help set up and configure a project"
homepage "http://forge.jboss.org/"
url "https://downloads.jboss.org/forge/releases/3.0.1.Final/forge-distribution-3.0.1.Final-offline.zip"
version "3.0.1.Final"
sha256 "2a3ee9702d3e9b32b0696920607e7a067d14b6d87fbbba634b6583089a4897c7"
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