Alex Dunn 79ea14b738 cmd/search: fix filtering of aliases in results
By directly modifying the results array with
`results[i] = "#{name} (installed)"`, it appeared on successive
iterations that the canonical name was no longer in the array, so
aliases were not removed.

See 9efe5b554c (commitcomment-12969631)

Closes Homebrew/homebrew#43433.
2015-08-31 07:54:59 -07: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-29 15:43:16 +01:00
2015-08-22 13:21:13 +08: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-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-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-08-22 13:15:33 +08: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-08-22 13:15:33 +08:00
2015-08-27 20:19:00 +08:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01:00
2015-01-13 16:35:24 -05:00
2015-08-24 19:36:24 -07:00
2015-08-03 14:34:12 -07:00
2015-08-03 13:22:35 +01:00
2015-03-12 15:19:02 +00:00
2015-08-03 13:22:35 +01:00
2015-04-15 19:51:54 +08: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-31 09:21:27 +02:00
2015-08-13 15:49:46 +08:00
2015-08-03 13:22:35 +01:00
2015-08-29 15:43:16 +01: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!