Martin Afanasjew c3076f0b69 formulary: use FormulaClassUnavailableError
Present a more helpful error message if a formula file was loaded, but
the class(es) therein didn't match the expected formula class name.
2016-04-17 21:16:01 +02:00
..
2016-03-20 14:55:58 +08:00
2016-04-02 21:51:36 +08:00
2016-04-10 20:00:11 +01:00
2016-04-04 02:01:15 +08:00
2016-03-20 14:55:58 +08:00
2016-01-04 13:17:21 +01:00
2016-03-20 14:55:58 +08:00
2016-01-03 19:08:11 +00:00
2016-04-05 13:19:16 +08:00
2016-01-19 12:54:00 +00:00
2016-03-08 21:55:09 +08:00
2016-02-02 18:08:13 +00:00
2016-02-06 14:20:56 -08:00
2016-01-13 21:37:22 +01:00
2016-04-02 21:51:36 +08:00
2016-04-12 18:51:43 +08:00

Homebrew's Formula API

This is the (partially) documented 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!