Issy Long 836d85277f
Keep only the parts of rubocop.rbi that we actually use
- This file was _massive_ - over 60k lines and we had to bump the file
  size limit for pushes to the repo!
- This was because by default Tapioca, when it encounters a
  `require "rubocop"` during RBI generation, loads all of the cops ever
  because they're all classes inside `RuboCop::Cop`.
- There wasn't an easy way to control this at Tapioca generation time
  (we tried), so now we parse the generated RBI file and delete classes
  and method definitions that we don't use.
- I regenerated the RBIs (`brew tc --update rubocop`) and added new
  things to the allowlist until Sorbet came back green.
- Now the file is ~7k lines and 240K - much better!
2025-07-04 00:27:12 +01:00
..
2025-06-25 00:18:16 +00:00
2025-06-17 16:33:58 +01:00
2025-06-09 21:41:49 +01:00
2025-04-23 10:09:45 +02:00
2025-03-31 17:55:07 +01:00
2025-06-17 14:59:46 +01:00
2025-05-14 17:13:58 -07:00
2025-06-17 08:18:33 +01:00
2025-02-04 16:27:39 +00:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-02-17 18:56:31 -08:00
2025-04-23 10:09:45 +02:00
2025-04-15 23:02:00 +01:00
2025-02-16 13:26:10 -08:00
2025-06-09 19:06:16 +01:00
2025-04-22 11:50:08 -07:00
2025-02-17 18:56:31 -08:00
2025-06-09 19:06:16 +01:00
2024-12-11 11:04:55 -08:00
2025-06-23 16:50:39 +01:00
2025-04-16 16:22:36 +01:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-02-04 16:27:39 +00:00
2025-06-20 12:59:15 -04:00
2025-03-02 21:36:03 -08:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-06-09 19:06:16 +01:00
2025-03-31 17:55:07 +01:00
2025-03-27 03:38:09 +00:00
2025-06-18 16:16:08 +02:00
2025-05-21 17:54:21 +02:00
2025-06-26 19:13:02 -04:00
2025-02-24 11:57:20 -08:00
2025-05-13 01:33:14 +01: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!