Dominyk Tiller 2b9561b837 audit: add bottle modifier checks
* Checks for placement of the bottle modifier variable.

* Checks there isn't a bottle modifier and a bottle do block - The former makes
the latter redundant.

Closes Homebrew/homebrew#45146.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-24 00:25:46 +01:00
..
2015-10-24 00:25:46 +01:00
2015-08-03 13:22:35 +01:00
2015-10-18 22:57:42 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-09-10 23:10:26 -07:00
2015-10-19 21:41:36 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-28 17:15:29 +08:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-10-18 22:57:42 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-01-13 16:35:24 -05:00
2015-08-03 14:34:12 -07:00
2015-08-03 13:22:35 +01:00
2015-10-18 22:57:42 +08:00
2015-08-03 13:22:35 +01:00
2015-04-15 19:51:54 +08:00
2015-08-29 15:43:16 +01:00
2015-09-01 19:19:13 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-10-20 20:16:15 -07:00
2015-08-03 13:22:35 +01:00
2015-10-20 19:03:24 +08:00
2015-10-04 10:31:46 +02:00

Homebrew's Formula API

This is the (partially) documented public API for Homebrew. It's currently a work in progress. Sorry about that!

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!