Martin Afanasjew 500f9eada8 update: fix hyphen counting (legacy tap renaming)
Fix regression introduced in fafe8f0f53bf91fc41f016b5c2af41ca712783f7.
Counting the number of hyphens in a string cannot be done in a single
expression, thus split this and introduce another local variable.

Fixes #227.
2016-05-09 21:00:26 +02:00
..
2016-04-19 15:08:38 +08:00
2016-05-08 17:23:47 +01:00
2016-04-04 02:01:15 +08:00
2016-03-20 14:55:58 +08:00
2016-05-08 17:05:25 +01:00
2016-05-08 16:51:22 +01:00
2016-05-08 16:51:22 +01:00
2016-03-08 21:55:09 +08:00
2016-02-02 18:08:13 +00:00
2016-05-08 16:51:22 +01:00
2016-02-06 14:20:56 -08:00
2016-05-03 18:52:40 +01:00
2016-05-08 20:12:51 +02:00
2016-04-19 16:29:29 +08:00
2016-05-08 16:51:22 +01: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 bbatsov's Ruby Style Guide helpful in creating formulae.

Good luck!