chore: add verify-all target and mandate local verification in GEMINI.md

This commit is contained in:
2026-05-02 23:29:40 +02:00
parent a281d227c9
commit 840fbb1cdd
2 changed files with 12 additions and 0 deletions

View File

@@ -21,9 +21,14 @@ make dev-frontend # pnpm dev (port 5173, /api proxied to :3000)
# Linting & Quality
make lint # runs cargo fmt, clippy (-D warnings), and svelte-check
make verify-all # full local pre-flight: lint + tests + E2E + audit
# Build
make build # runs lint, then pnpm build and cargo build --release
...
# 🚨 MANDATE: Run `make verify-all` locally before every release tag or push.
# This ensures that all quality, security, and lockfile gates pass, minimizing
# CI/CD debugging cycles.
make compose-up # docker compose build + start
# Testing

View File

@@ -92,3 +92,10 @@ test-reset:
test-e2e:
$(MAKE) test-up
@. scripts/test-env.sh; cd frontend && pnpm test:e2e
verify-all: lint test test-e2e
@echo "Checking frontend lockfile sync..."
cd frontend && pnpm install --frozen-lockfile
@echo "Running local security audit..."
cd backend && cargo audit --ignore RUSTSEC-2023-0071
@echo "✅ All verification gates passed!"