fix: add missing Makefile targets and test timeout
All checks were successful
Check / check (pull_request) Successful in 4s

- Add docker target (runs docker build .)
- Add hooks target (installs pre-commit hook running make check)
- Add 30-second timeout to test target (-timeout 30s)
- Update README to document all Makefile targets
- Run make fmt to fix JS formatting (prettier)
This commit is contained in:
clawbot
2026-03-06 03:38:42 -08:00
parent 1cd433b069
commit 16f2fa50a5
7 changed files with 558 additions and 504 deletions

View File

@@ -110,11 +110,14 @@ chi Router ──► Middleware Stack ──► Handler
### Commands
```bash
make fmt # Format code
make lint # Run comprehensive linting
make test # Run tests with race detection
make check # Verify everything passes (lint, test, build, format)
make build # Build binary
make fmt # Format code
make fmt-check # Check formatting (read-only, fails if unformatted)
make lint # Run comprehensive linting
make test # Run tests with race detection (30s timeout)
make check # Verify everything passes (fmt-check, lint, test)
make build # Build binary
make docker # Build Docker image
make hooks # Install pre-commit hook (runs make check)
```
### Commit Requirements