feat: Windows notifications, benchmarks, GPG signing, docs site, one-liner installers
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user