Files
brew/Library/Homebrew
Mike McQuaid 7cc970fea2 link: refactor, reorder and fix bugs.
The change in #4441 broke the handling of the `elsif`s due to the
change in logic. As every block here has a `next` there's no need to do
an `elsif` in here at all. Additionally, reorder the conditions in here
so you get an appropriate message depending on what you're trying to do.
Finally, tweak some of the messaging to remove things that are ignored
and tell people correct commands to run to link things.
2018-07-10 09:32:42 +01:00
..
2018-07-10 09:32:42 +01:00
2018-07-06 15:18:35 -07:00
2018-07-04 21:25:43 +10:00
2018-07-01 18:48:28 +02:00
2018-07-03 12:15:51 -04:00
2017-11-30 09:42:14 +00:00
2018-06-30 19:40:14 -04:00
2018-06-13 07:17:30 +02:00
2018-06-18 16:23:35 +02:00
2018-07-03 15:41:33 +01:00
2018-05-18 16:58:21 -07:00
2018-04-07 20:28:56 +01:00
2018-06-07 13:48:35 +02:00
2017-11-05 15:37:57 +00:00
2018-04-30 17:03:11 +02:00
2018-06-30 19:40:14 -04:00
2018-06-30 19:40:14 -04:00
2018-07-01 01:43:04 +02:00
2018-03-24 16:55:16 +00:00
2018-03-24 16:55:16 +00:00
2018-06-07 14:02:31 +02:00
2018-05-14 04:44:15 -05:00
2018-06-30 19:40:14 -04:00
2018-05-16 19:07:11 +02:00
2017-09-24 21:23:59 +01:00
2018-06-30 19:40:14 -04:00
2018-06-30 19:40:14 -04:00
2018-06-30 19:40:14 -04:00
2018-06-30 19:40:14 -04:00
2018-04-07 20:28:56 +01:00
2018-04-08 16:48:50 -07:00
2018-04-20 19:11:22 +02:00
2017-09-24 21:23:59 +01:00
2018-04-07 20:28:56 +01:00
2018-02-22 19:46:58 +00:00
2018-07-05 11:54:32 +02:00
2018-07-04 21:25:43 +10:00
2018-03-08 14:10:02 +00:00
2018-06-18 16:23:36 +02:00
2018-06-07 13:50:10 +02:00
2018-05-25 18:53:08 +02:00
2018-07-01 18:48:28 +02: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!