Carlo Cabrera 7b74730f9d
formula_cellar_checks: fix universal binary handling
The `check_binary_arches` audit will fail any formula that produces
universal binaries. We have a handful of formulae in Homebrew/core that
do this (see any formula that does `ENV.permit_arch_flags`, for
example). Moreover, some third party taps may have their own formulae
that build universal binaries.

I've updated the check so that it ignores a formula that produces
universal binaries whenever the formula is in the appropriate allowlist.
We'll need to create one in Homebrew/core for the handful of formulae
that do (expectedly) build universal binaries.

If we don't want to maintain an allowlist, we can easily modify this to
pass over any formulae that builds compatible universal binaries.

I've also fixed the spacing of the error this audit produces whenever
there is more than one file that fails the audit.
2021-07-20 12:15:59 +08:00
..
2021-07-19 10:02:19 +08:00
2021-07-18 09:22:34 +08:00
2021-05-21 00:07:42 +00:00
2021-04-14 12:37:25 +01:00
2021-07-14 11:45:03 +01:00
2021-07-18 16:55:57 +08:00
2021-07-14 18:09:38 +00:00
2021-07-14 18:07:33 +00:00
2021-04-13 22:23:32 +09:00
2021-05-12 13:37:18 +01:00
2021-06-22 18:06:52 +01:00
2021-05-08 11:20:01 +10:00
2021-05-02 00:29:01 +01:00
2021-05-08 11:20:01 +10:00
2021-04-14 12:37:18 +01:00
2021-07-19 10:02:19 +08:00
2021-05-04 11:30:14 -04:00
2021-04-14 12:37:18 +01:00
2021-04-17 20:56:56 +09:00
2021-04-23 13:43:55 +01:00
2021-04-20 20:32:01 +09:00
2021-06-15 12:52:39 +01:00
2021-07-13 18:03:04 +02:00
2021-06-11 20:02:31 +05:30
2021-06-22 18:06:52 +01:00
2021-07-05 11:45:15 -04: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!