feat: Windows notifications, benchmarks, GPG signing, docs site, one-liner installers

This commit is contained in:
2026-08-14 10:57:20 -04:00
parent 448d2c4ead
commit 35c6b98aec
12 changed files with 555 additions and 16 deletions
+18
View File
@@ -54,6 +54,22 @@ test-cover:
go test ./... -coverprofile=coverage.out -count=1 -timeout 60s
go tool cover -func=coverage.out
# ── Benchmark ─────────────────────────────────────────────────────────
.PHONY: bench
bench:
go test ./... -bench=. -benchmem -run=^$$ -count=1
# ── Release signing ───────────────────────────────────────────────────
.PHONY: sign
sign:
@for f in $(BUILD_DIR)/clip-sync-*; do \
echo "Signing $$f"; \
gpg --batch --yes --armor --detach-sign "$$f"; \
done
@echo "Signed binaries in $(BUILD_DIR)/ (alongside .asc signatures)"
# ── Lint ───────────────────────────────────────────────────────────────
.PHONY: lint
@@ -84,6 +100,8 @@ help:
@echo " test-verbose Run tests with verbose output"
@echo " test-race Run tests with race detector"
@echo " test-cover Run tests with coverage report"
@echo " bench Run benchmarks"
@echo " sign GPG-sign release binaries in bin/"
@echo " lint Run golangci-lint"
@echo " clean Remove build artifacts"
@echo " install Install binary to ~/.local/bin/"