Skip to content

Instantly share code, notes, and snippets.

@ajermakovics
Forked from janhoy/jvm-mon.rb
Created March 27, 2017 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajermakovics/7df5d21d70d64dac363df0ea618ed46b to your computer and use it in GitHub Desktop.
Save ajermakovics/7df5d21d70d64dac363df0ea618ed46b to your computer and use it in GitHub Desktop.
jvm-mon brew formulae
# Documentation: http://docs.brew.sh/Formula-Cookbook.html
# http://www.rubydoc.info/github/Homebrew/brew/master/Formula
class JvmMon < Formula
desc "Console based JVM monitoring"
homepage "https://github.com/ajermakovics/jvm-mon"
url "https://github.com/ajermakovics/jvm-mon/releases/download/0.2/jvm-mon-0.2.tar.gz"
sha256 "3f85e8fec42449d8af831657ede96c9b7a5d12e80b35dbbc14f2e00eae301f28"
depends_on :java => "1.8+"
def install
rm_f Dir["bin/*.bat"]
libexec.install Dir["*"]
bin.install_symlink libexec/"bin"/"jvm-mon"
end
test do
system "false"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment