Mike McQuaid 8dd59548ed
bottles: make or_later the default.
When Mojave was in beta we made it so that High Sierra bottles would
automatically be used on Mojave. Let's make this the default in general:
older bottles will be used on newer versions of macOS when a newer
bottle is not available.

This should make it easier for taps to bottle single versions of bottles
which will work more widely and to give us breathing room whenever a new
version of macOS is released.

Currently this only applies to the `wine` formula which will have the
`or_later` removed in a Homebrew/homebrew-core PR.

Question: should we use an `odeprecated` for the use of `or_later`?
2018-10-13 12:39:21 -07:00
..
2018-10-08 18:41:46 +01:00
2018-10-10 14:41:50 +01:00
2018-10-07 23:10:56 +02:00
2018-09-17 03:45:59 +02:00
2018-09-30 16:40:20 +02:00
2018-10-07 23:10:56 +02:00
2018-10-07 22:08:59 +01:00
2018-09-17 03:45:59 +02:00
2018-09-25 21:07:01 +01:00
2018-10-07 23:10:56 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-10-03 21:21:05 +00:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-10-07 23:10:56 +02:00
2018-09-17 03:45:59 +02:00
2018-09-28 14:01:09 -07:00
2018-09-17 03:45:59 +02:00
2018-09-27 08:19:47 +01:00
2018-09-17 03:45:59 +02:00
2018-09-25 21:07:01 +01:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-12 19:28:02 +00:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-10-07 23:10:56 +02:00
2018-10-10 17:31:09 +02:00
2018-09-17 03:45:59 +02:00
2018-10-07 23:10:56 +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!