gcviewer 1.34.1 (new formula)

Closes Homebrew/homebrew#47778.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Jean-Bernard Damiano 2016-01-06 17:39:14 +01:00 committed by Dominyk Tiller
parent f09c519276
commit 16faacc806

20
Formula/gcviewer.rb Normal file
View file

@ -0,0 +1,20 @@
class Gcviewer < Formula
desc "Java garbage collection visualization tool"
homepage "https://github.com/chewiebug/GCViewer"
url "https://github.com/chewiebug/GCViewer/archive/1.34.1.tar.gz"
sha256 "e0e97a94c80be8323772dc8953d463fe8eaf60c3a1c5f212d0b575a3b5c640ba"
depends_on :java
depends_on "maven" => :build
def install
ENV.java_cache
system "mvn", "-Dmaven.surefire.debug=-Duser.language=en", "clean", "install"
libexec.install Dir["*"]
bin.write_jar_script libexec/"target/gcviewer-1.34.1.jar", "gcviewer"
end
test do
assert(File.exist?(libexec/"target/gcviewer-#{version}.jar"))
end
end