Skip to content

Commit

Permalink
Merge pull request #16980 from Homebrew/tapioca-compiler-for-envconfi…
Browse files Browse the repository at this point in the history
…g-rbi

Convert the `EnvConfig` RBI generator to a Tapioca compiler
  • Loading branch information
issyl0 committed Mar 30, 2024
2 parents a3932b4 + 75db3b8 commit 3f1ae21
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 288 deletions.
3 changes: 0 additions & 3 deletions Library/Homebrew/dev-cmd/typecheck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ def run
# 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/env_config.rb"

ohai "Updating Tapioca RBI files..."
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
safe_system "bundle", "exec", "parlour"
Expand Down
243 changes: 0 additions & 243 deletions Library/Homebrew/env_config.rbi

This file was deleted.

42 changes: 0 additions & 42 deletions Library/Homebrew/sorbet/custom_generators/env_config.rb

This file was deleted.

0 comments on commit 3f1ae21

Please sign in to comment.