Mike McQuaid 21d8f82056
Add/use HOMEBREW_INSTALL_FROM_API_UNSUPPORTED
When we're automatically setting `HOMEBREW_NO_INSTALL_FROM_API`
when on an old macOS version or with a non-default prefix (e.g. cases
where you're going to be mostly building from source).

My initial plan was to set
`HOMEBREW_AUTOMATICALLY_SET_NO_INSTALL_FROM_API` in these cases but
it's used differently enough it made sense to add another internal
variable instead: `HOMEBREW_INSTALL_FROM_API_UNSUPPORTED`.

At the moment this is only used to avoid printing the "You have set
`HOMEBREW_NO_INSTALL_FROM_API`" message inside `brew update` but may
make sense to use in other places over time.

Ideally, we'll get rid of these automatic sets of
`HOMEBREW_NO_INSTALL_FROM_API` and perhaps even the variable entirely.
2023-07-27 12:36:54 +01:00
..
2023-07-06 16:56:20 +01:00
2023-06-19 00:12:59 +00:00
2023-07-26 11:15:19 +08:00
2023-07-19 20:02:47 -07:00
2023-07-24 14:12:36 -07:00
2023-07-26 11:15:19 +08:00
2023-07-26 19:01:58 +00:00
2023-07-26 18:56:31 +00:00
2023-04-05 10:06:45 -07:00
2023-04-05 10:06:45 -07:00
2023-04-24 20:42:39 -07:00
2023-05-12 21:17:30 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-07-04 13:31:58 +01:00
2023-07-18 08:52:49 -07:00
2023-04-24 20:42:39 -07:00
2023-05-17 15:26:46 +02:00
2023-07-24 14:12:36 -07:00
2023-07-06 16:56:20 +01:00
2023-04-24 20:42:39 -07:00
2023-05-20 19:28:29 +02:00
2023-07-24 14:12:36 -07:00
2023-04-24 14:03:55 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-07-18 10:59:27 +01:00
2023-06-24 11:09:28 +01:00
2023-03-31 08:35:20 -07:00
2023-03-31 08:35:20 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:43 +01:00
2023-04-24 20:42:39 -07:00
2023-05-06 03:27:42 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-05-12 21:17:30 +02:00
2023-03-30 17:22:02 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-05-09 05:08:38 +02:00
2023-04-24 20:42:39 -07:00
2023-07-06 16:56:20 +01:00
2023-04-25 09:26:24 -07:00
2023-05-09 01:13:55 +02:00
2023-04-24 20:42:38 -07:00
2023-04-24 20:42:39 -07:00
2023-07-18 10:59:27 +01:00
2023-04-24 20:42:39 -07:00
2023-05-11 12:33:27 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00

Homebrew Ruby API

This is the 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!