Uladzislau Shablinski 63c563f970 Fix update commit for non-HEAD kegs with head spec (#644)
If we try to call `Formulary.from_keg(f, :head)` on the keg that
is not HEAD-keg itself, we don't need to update commit of
returned formula and should use just HEAD version with nil commit.

Same is true for `ARGV.resolved_formulae`
2016-08-06 16:22:12 +08:00
..
2016-07-29 21:21:29 -06:00
2016-07-16 20:39:13 +08:00
2016-07-15 19:03:45 +01:00
2016-08-06 07:04:59 +02:00
2016-07-11 19:23:00 +08:00
2016-07-27 15:05:42 -06:00
2016-07-24 22:05:37 +02:00
2016-03-20 14:55:58 +08:00
2016-05-22 09:40:08 +01:00
2016-07-15 19:03:45 +01:00
2016-03-08 21:55:09 +08:00
2016-02-06 14:20:56 -08:00
2016-05-03 18:52:40 +01:00
2016-07-16 20:39:13 +08:00
2016-07-29 21:21:02 -06:00
2016-08-04 11:37:37 +01:00
2016-08-02 03:50:49 +01:00
2016-07-16 20:39:13 +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!