homebrew-core/Formula/jboss-forge.rb
George Gastaldi 25559082d0 jboss-forge 3.0.0.Alpha3 (devel)
Closes Homebrew/homebrew#46837.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-09 21:25:18 +00:00

26 lines
883 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/2.20.1.Final/forge-distribution-2.20.1.Final-offline.zip"
version "2.20.1.Final"
sha256 "dbe51b8c9cd0cf1b0a9adadcd8161c442a4ab586ca63f3a3f6d3369a2831afae"
bottle :unneeded
devel do
url "https://downloads.jboss.org/forge/releases/3.0.0.Alpha3/forge-distribution-3.0.0.Alpha3-offline.zip"
version "3.0.0.Alpha3"
sha256 "d234c9183accb7087a7ecffaa2de5c0b82834223ffdebe5485f3f548486bb62a"
end
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