homebrew-core/Formula/jboss-forge.rb
George Gastaldi ea6b5c8596 jboss-forge 3.0.0.Alpha2
Closes Homebrew/homebrew#46591.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-02 18:36:55 +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.Alpha2/forge-distribution-3.0.0.Alpha2-offline.zip"
version "3.0.0.Alpha2"
sha256 "798ae01e70a43d4f9339f5654d37629cf45782b373a42b2a4c35c806eca2b0e6"
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