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: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist/
*.code-workspace
.swiftpm/
PLAN.md
MEMORY.md
.claude/
.fuzz-progress
fuzz-crashes/
Expand Down
2 changes: 2 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ events. SwiftPM only — there is no Xcode project.
below (bare-`^` command anchor; read-only). Runs in CI before the build and
as the pre-commit hook; `make hooks` installs the hook (once per clone, since
git won't auto-run repo hooks).
- `make verify` — run the complete local gate: fitness, selftest, and
metamorphic checks.
- `make app` — assemble ad-hoc-signed `dist/Perch.app`.

## Cross-review
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CONFIG := release
# in build-dmg.sh. Empty (no git / no repo) leaves the 0.0.0 dev-build marker.
GIT_VERSION := $(shell git describe --tags --always --dirty 2>/dev/null | sed 's/^v//')

.PHONY: build app dmg run test clean debug fuzz meta fitness hooks
.PHONY: build app dmg run test clean debug fuzz meta fitness verify hooks

build:
swift build -c $(CONFIG)
Expand Down Expand Up @@ -49,6 +49,8 @@ meta:
fitness:
scripts/fitness.sh

verify: fitness test meta

# One-time per clone: point git at the tracked hook (git won't auto-run repo
# hooks on clone, by design). The hook runs `make fitness` before each commit.
hooks:
Expand Down