Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ builds:
goos:
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
Expand Down
6 changes: 3 additions & 3 deletions docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ When setting up a new Mac, developers spend significant time manually tweaking S
**Acceptance criteria:**

- A Homebrew tap exists and is kept current with each release
- `brew install --cask vsimon/tap/macform` installs the correct binary for the running arch (arm64 or amd64)
- `brew install --cask vsimon/tap/macform` installs the correct binary for the running arch (arm64)
- The installed binary passes `macform --version`

### US-5: Discover available settings
Expand Down Expand Up @@ -291,7 +291,7 @@ dock:
- **CI**: GitHub Actions installs mise, then uses it to activate Go and GoReleaser; runs `go build`, `go vet`, `go test ./...` on every push
- **Release trigger**: Pushing a semver tag (`v*.*.*`) kicks off the release workflow
- **Tool**: GoReleaser handles cross-compilation, archive creation, checksum generation, and GitHub Release publication
- **Targets**: `darwin/amd64` (Intel) and `darwin/arm64` (Apple Silicon); no other platforms
- **Targets**: `darwin/arm64` (Apple Silicon); no other platforms
- **Archives**: `.tar.gz` per platform, plus a `checksums.txt` with SHA-256 digests
- **Homebrew tap**: GoReleaser auto-updates `vsimon/homebrew-tap` with a generated formula after each release
- **Version embedding**: Build injects `version`, `commit`, and `date` via `-ldflags` so `macform --version` reports accurate release info
Expand Down Expand Up @@ -328,7 +328,7 @@ dock:
4. `apply --auto-approve` changes all differing settings and restarts affected apps.
5. After `apply`, running `plan` again shows "No changes."
6. `go build` succeeds with no warnings.
7. Pushing a `v*.*.*` tag triggers CI, produces GitHub Release with arm64 + amd64 archives, and updates the Homebrew formula.
7. Pushing a `v*.*.*` tag triggers CI, produces GitHub Release with arm64 archives, and updates the Homebrew formula.
8. `brew install vsimon/tap/macform` installs a working binary on a clean Mac.

## Constraints & Assumptions
Expand Down