mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

- 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!
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.