dev-cmd/typecheck: Use Tapioca more as srb rbi is in maintenance

- According to https://sorbet.org/blog/2022/07/27/srb-tapioca, Tapioca
  is the recommended way to generate RBIs for Sorbet these days and `srb
  rbi` is in maintenance mode.
- There's a handy migration document -
  https://github.com/Shopify/tapioca/wiki/Migrating-to-Tapioca - and
  we're some of the way there already given we currently use Tapioca in
  some places.
This commit is contained in:
Issy Long 2022-10-11 00:29:28 +01:00
parent fb52a12144
commit bca4fa3472
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -67,8 +67,7 @@ module Homebrew
ohai "Updating Tapioca RBI files..."
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
safe_system "bundle", "exec", "parlour"
safe_system "bundle", "exec", "srb", "rbi", "hidden-definitions"
safe_system "bundle", "exec", "srb", "rbi", "todo"
safe_system "bundle", "exec", "tapioca", "todo"
if args.suggest_typed?
result = system_command(