2015-07-09 11:38:26 +00:00
|
|
|
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"
|
|
|
|
|
2015-10-23 13:01:27 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2015-07-09 11:38:26 +00:00
|
|
|
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
|