Carlo Cabrera 78ad5a870c
formula_installer: add tap_audit_exception stub
`FormulaInstaller` calls `audit_installed` at install time, which
invokes methods in `FormulaCellarChecks`. One of these methods makes a
call to `tap_audit_exception` (cf. #11750), but this method isn't
visible in `FormulaInstaller`.

Instead of trying to replicate the logic of `tap_audit_exception` in
`FormulaAuditor` (or trying to initialise an instance of one to make the
call to `FormulaAuditor`'s implementation of it), let's just implement a
stub that assumes an exception always exists.

I'll need to think a bit about whether this is the right fix for this,
but currently the missing method error is blocking PRs in Homebrew/core,
so let's go with this for now. [1]

[1] e.g. Homebrew/homebrew-core#81388, Homebrew/homebrew-core#81582
2021-07-21 15:46:04 +08:00
..
2021-07-19 10:02:19 +08:00
2021-07-20 09:32:37 +08:00
2021-05-21 00:07:42 +00:00
2021-04-14 12:37:25 +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-07-20 09:07:09 +08: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!