Skip to content

Update CLI cask postflight and add test - #3

Merged
fcjr merged 2 commits into
fcjr:mainfrom
jack-brand:fix-homebrew-cli-cask
Nov 1, 2026
Merged

fcjr merged 2 commits into
fcjr:mainfrom
jack-brand:fix-homebrew-cli-cask

Conversation

@jack-brand

Copy link
Copy Markdown
Contributor

Changes

  • Replace the deprecated postflight block with postflight_steps
  • Add a simple cask test for ventoy2disk --version
  • Add changes recommended by brew style

Testing

  • brew style homebrew/ventoy2disk-cli.rb
  • brew audit --cask ventoy2disk-cli
  • Verified the release archive contains the ventoy2disk binary
  • Verified ventoy2disk --version reports the expected version

jack-brand and others added 2 commits September 18, 2026 09:56
Casks have no test stanza; test do resolves to Kernel#test and the cask
fails to load. Also keep the postflight step non-fatal like the old
system_command call, and drop the formula-only Sorbet/frozen-string
headers.
@fcjr
fcjr merged commit 6491708 into fcjr:main Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants