homebrew-core/Formula/sjk.rb
Dennis Oelkers e54271fd8e sjk 0.3.6 (new formula)
SJK is a command line tool for JVM diagnostic, troubleshooting and
profiling.

Closes Homebrew/homebrew#41518.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-09 17:39:17 +01:00

17 lines
463 B
Ruby

class Sjk < Formula
desc "Swiss Java Knife"
homepage "https://github.com/aragozin/jvm-tools"
url "https://bintray.com/artifact/download/aragozin/generic/sjk-plus-0.3.6.jar"
sha256 "9420403139c1b843320fe07bac56f704b0d13715d53b5b2b5869d32103a99a47"
depends_on :java
def install
libexec.install "sjk-plus-#{version}.jar"
bin.write_jar_script "#{libexec}/sjk-plus-#{version}.jar", "sjk"
end
test do
system "#{bin}/sjk", "jps"
end
end