Xu Cheng 60ba8beefa Formulary.from_rack: better formula resolution strategy
The flow is as follow:
* If tap is nil(DIY install), search using name.
* If tap is found, search using full name.
* If tap is found and full name searching failed, search using name.
  This usually means the formula may be migrated to different tap.

Closes Homebrew/homebrew#44771.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10 01:34:36 +08:00
..
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-10-01 05:54:14 +01:00
2015-09-10 23:10:26 -07:00
2015-10-04 10:31:46 +02:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-28 17:15:29 +08:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-06 22:33:46 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-10-08 16:23:40 +08:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-03 14:34:12 -07:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-09-01 19:19:13 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-10-02 07:58:19 +02:00
2015-09-30 16:25:30 +08:00
2015-08-03 13:22:35 +01:00
2015-09-09 12:19:17 +08:00
2015-10-04 10:31:46 +02:00

Homebrew's Formula API

This is the (partially) documented public API for Homebrew. It's currently a work in progress. Sorry about that!

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!