mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

This is a replacement for the rubydoc.info site that has been a bit unreliable for us. Also, note we're using the community Ruby style guide now rather than the GitHub one.
505 B
505 B
Homebrew's Formula API
This is the public API for Homebrew.
The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.
You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.
Good luck!