Uladzislau Shablinski db478fb7b2 list: fix exit code for --verbose and --pinned
`brew list --verbose <formulae>` lists only those kegs that
are installed and exits with 0 if all <formulae> installed.
If one or more formulae from <formulae> are not installed, the
command lists only installed versions and exits with 1.

`brew --pinned formula` exits with 1 if formula is not pinned.

Fixes #1172
2016-10-02 12:35:30 +03:00
..
2016-10-01 20:00:49 +02:00
2016-10-02 08:40:38 +02:00
2016-09-23 15:30:07 +02:00
2016-09-25 00:16:31 +02:00
2016-10-01 20:00:49 +02:00
2016-10-01 20:00:49 +02:00
2016-10-01 12:13:09 +01:00
2016-09-25 19:55:34 +02:00
2016-10-01 20:00:49 +02:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-23 15:30:07 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-25 19:55:34 +02:00
2016-09-25 00:22:53 +02:00
2016-09-23 15:30:06 +02:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-24 12:24:35 +02:00
2016-09-23 18:19:53 +02:00
2016-10-01 20:00:49 +02:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-10-01 20:00:49 +02:00
2016-10-01 20:00:49 +02:00
2016-09-24 19:28:26 +02:00
2016-09-24 19:28:26 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 18:19:53 +02:00
2016-09-24 12:24:35 +02:00
2016-10-01 20:00:49 +02:00
2016-09-24 18:55:03 +01:00
2016-09-23 18:19:53 +02:00
2016-09-24 12:24:35 +02:00
2016-09-23 18:19:53 +02:00
2016-09-21 11:45:47 -05:00
2016-09-20 10:41:42 +01:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-24 12:24:35 +02:00
2016-10-01 20:00:49 +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!