Andrew Janke 094f6f47dd Formula: include bad value in invalid-option error message
Makes identifying which line in a formula has the bad use of 'option' easier.

Closes #120.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21 15:21:44 -04:00
..
2016-04-19 15:08:38 +08:00
2016-04-21 09:36:30 -07:00
2016-04-21 09:36:30 -07: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-01-03 19:08:11 +00: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-19 16:29:29 +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!