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>
This commit is contained in:
parent
1b0a1c2339
commit
e54271fd8e
1 changed files with 17 additions and 0 deletions
17
Formula/sjk.rb
Normal file
17
Formula/sjk.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Reference in a new issue