Skip to content

Commit

Permalink
Merge pull request #16691 from dduugg/tapioca-config
Browse files Browse the repository at this point in the history
Move tapioca args to config; exclude unnecessary gems
  • Loading branch information
MikeMcQuaid committed Feb 19, 2024
2 parents e5fefd7 + 89b5914 commit 8bb2787
Show file tree
Hide file tree
Showing 42 changed files with 89 additions and 60,412 deletions.
9 changes: 2 additions & 7 deletions Library/Homebrew/dev-cmd/typecheck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,8 @@ def self.typecheck
HOMEBREW_LIBRARY_PATH.cd do
if update
safe_system "bundle", "exec", "tapioca", "dsl"
# RBI files already provided by Sorbet:
excluded_gems = [
"json",
"msgpack",
]
tapioca_args = ["--exclude", *excluded_gems, "--pre", "sorbet/tapioca/prerequire.rb"]
tapioca_args << "--all" if args.update_all?
# Prefer adding args here: Library/Homebrew/sorbet/tapioca/config.yml
tapioca_args = args.update_all? ? ["--all"] : []

ohai "Updating homegrown RBI files..."
safe_system "bundle", "exec", "ruby", "sorbet/custom_generators/tty.rb"
Expand Down
36 changes: 0 additions & 36 deletions Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi

This file was deleted.

0 comments on commit 8bb2787

Please sign in to comment.