Xu Cheng eb54a6b5d5 update-bash: handle option flags like -vd
Per @UniqMartin's advice, the original code will fail to handle flags
like `-vd`, because once a case is handled, no other cases are evaluate.
2016-01-21 21:14:55 +08:00
..
2016-01-03 19:08:10 +00:00
2016-01-03 19:08:11 +00:00
2016-01-19 14:00:01 +01:00
2015-12-26 23:00:38 +01:00
2016-01-04 13:17:21 +01:00
2016-01-03 19:08:11 +00:00
2016-01-20 10:23:21 +01:00
2016-01-05 16:08:25 +01:00
2016-01-19 12:54:00 +00:00
2016-01-13 21:37:22 +01:00
2016-01-15 16:26:04 +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!