Xu Cheng 73b79de7bc ARGV: switch? should only has one dash
If user inputs argument such as `-with-flag`, we can assume it's a bad flag.

Closes Homebrew/homebrew#49256

Closes Homebrew/homebrew#49550.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-26 16:50:55 +08:00
..
2016-02-25 23:05:39 +08:00
2015-12-26 23:00:38 +01:00
2016-02-11 20:32:22 +00:00
2015-12-09 16:56:59 +08:00
2016-01-04 13:17:21 +01:00
2016-01-03 19:08:11 +00:00
2016-02-24 20:51:35 +08:00
2016-01-19 12:54:00 +00:00
2015-12-09 16:56:59 +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-01-15 16:26:04 +08:00
2016-02-21 04:24:34 +00:00
2016-02-25 17:22:28 +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!