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
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.PHONY: test test-unit test-e2e test-go test-file test-run build clean tidy help \
check-toolchain fmt fmt-check vet lint tidy-check race-test vuln secrets \
replace-check security check release-check release tools
replace-check security check release-check release tools \
surface-snapshot surface-check sync-skill

BINARY := $(CURDIR)/bin/fizzy
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
Expand Down Expand Up @@ -171,6 +172,18 @@ tools:
go install golang.org/x/vuln/cmd/govulncheck@latest
@echo "For gitleaks, install via: brew install gitleaks (or see https://github.com/gitleaks/gitleaks)"

# Regenerate SURFACE.txt
surface-snapshot:
GENERATE_SURFACE=1 go test ./internal/commands/ -run TestGenerateSurfaceSnapshot -v

# Sync embedded SKILL.md from canonical source
sync-skill:
cp skills/fizzy/SKILL.md internal/skills/SKILL.md

# CI check: SURFACE.txt is up to date
surface-check:
go test ./internal/commands/ -run TestSurfaceSnapshot -v

# Clean build artifacts
clean:
rm -rf bin/
Expand Down
Loading
Loading