feat(dist): Homebrew tap pipeline for macmlx CLI (#20)#28
Open
balcsida wants to merge 1 commit intomagicnight:mainfrom
Open
feat(dist): Homebrew tap pipeline for macmlx CLI (#20)#28balcsida wants to merge 1 commit intomagicnight:mainfrom
balcsida wants to merge 1 commit intomagicnight:mainfrom
Conversation
Adds the build + render + publish path so `brew tap magicnight/mac-mlx && brew install macmlx` works on every tagged release. - Formula/macmlx.rb: source-of-truth template with @@Version@@/@@url@@/ @@sha256@@ placeholders; pinned to macOS 14+ arm64. - scripts/package-cli.sh: SPM Release build of macmlx, stripped, tarred as macmlx-${TAG}-arm64.tar.gz with a .sha256 sidecar. - scripts/render-formula.sh: substitutes the placeholders into dist/macmlx.rb using either MACMLX_CLI_SHA256 or the sidecar file. - release.yml: runs both scripts, attaches tarball + rendered formula to the Release, and pushes the formula to magicnight/homebrew-mac-mlx when HOMEBREW_TAP_TOKEN is configured (no-op otherwise — formula is still attached to the release for manual copy). - Docs: distribution.md gains a full Homebrew Tap section with bootstrap + sanity-check steps; cli-tui.md install snippet updated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the build + render + publish path so
brew tap magicnight/mac-mlx && brew install macmlxworks on every tagged release.Summary
Type
Testing
Screenshots (if UI change)
Checklist
.claude/swift-conventions.md