chore: add verify-all target and mandate local verification in GEMINI.md
This commit is contained in:
@@ -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
|
||||
|
||||
7
Makefile
7
Makefile
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user