ilovezfs fda353e827 formula_installer: don't pass spec arguments from ARGV to postinstall
Postinstall should be executed with the spec of the target formula not
the spec argument from ARGV, otherwise the prefix can be incorrect. In
other words, if the stable version of a dependency gets installed,
postinstall for the dependency should use the prefix of the dependency's
stable version, not the prefix of its devel or head version.

Fixes #2941.
2018-06-10 04:29:34 -07:00
..
2018-06-09 10:14:13 +02:00
2018-06-07 18:42:30 +02:00
2018-05-25 18:20:02 +02:00
2018-06-09 09:01:09 +02:00
2018-06-09 10:13:28 +02:00
2018-06-07 13:48:35 +02:00
2018-06-06 00:48:21 -04:00
2018-06-07 18:42:30 +02:00
2018-05-18 16:58:21 -07:00
2018-05-22 14:46:14 +01:00
2018-04-07 20:28:56 +01:00
2018-06-07 13:48:35 +02:00
2018-04-30 17:03:11 +02:00
2018-04-07 20:28:56 +01:00
2018-04-17 10:59:25 +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-04-05 18:57:34 -07:00
2018-05-16 19:07:11 +02:00
2018-04-07 20:28:56 +01:00
2018-04-07 20:28:56 +01:00
2018-04-07 20:28:56 +01: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
2018-04-07 20:28:56 +01:00
2018-06-07 18:42:30 +02:00
2018-06-07 13:50:10 +02:00
2018-05-25 18:53:08 +02:00
2018-06-09 10:13:28 +02:00
2018-05-21 20:44:25 +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!