Comments (9)
Great idea! Have never published on homebrew before so not sure how easy it is
from jvm-mon.
I've tried to publish a project once, kubetail but it was declined :). You should probably open up a tap (which is what I'll try to do next). Maybe you can find some inspiration from the wiki page I wrote, if not then I suppose one has to read the docs :/
from jvm-mon.
It's easy to publish on homebrew, the "recipes" are simple scripts. But... the app needs to be self-contained. You can't have scripts that have to be called from certain directories, npm installs that need to be run, etc.
from jvm-mon.
The 'self-contained' bit might be tricky. jvm-mon relies on a jdk being on the machine.
from jvm-mon.
I tried it out locally, and this simple formula works:
https://gist.github.com/03eea1303e5a9ff1a85dfffd96d4a674
(Download and copy to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/jvm-mon.rb)
This is the file layout after install
/usr/local/Cellar$ tree -L 3 jvm-mon/
jvm-mon/
└── 0.2
├── INSTALL_RECEIPT.json
├── bin
│ └── jvm-mon -> ../libexec/bin/jvm-mon
└── libexec
├── bin
├── jvm-mon.js
├── lib
└── node_modules
from jvm-mon.
As you see, we specify java 8 as a dependency, and the node deps do not install any moving parts, so should be safe. Anyway, it works :)
from jvm-mon.
Submitted PR Homebrew/homebrew-core#11661
Unfortunately automatic checks failed but not quite sure why. Works locally
from jvm-mon.
Ok, the formula needs a test
from jvm-mon.
It's been merged into homebrew! Thank you @janhoy!
brew install jvm-mon
from jvm-mon.
Related Issues (20)
- Top threads CPU miscalculation? HOT 2
- Find and load tools.jar from java code HOT 3
- Native library extracted to user's home directory
- IndexOutOfBoundsException: Index: 0, Size: 0 HOT 2
- when start got error HOT 2
- TypeError: Cannot read property 'Id' of undefined HOT 4
- Export Protocol HOT 4
- IOException HOT 2
- Support remote host JVM monitoring HOT 1
- stack guard warning and IOException when starting HOT 3
- ConnectIOException at startup HOT 1
- Stack guard message, then empty screen and broken console HOT 1
- support jdk 11 HOT 2
- Try with Termdash
- Calculate GC usage
- Calculating values for heap usage for plotting the graph HOT 3
- Refresh list of JVMs
- Chart stops updating after running for a long time
- SyntaxError: Unexpected token =
- r
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jvm-mon.