fix: add missing Makefile targets and test timeout
All checks were successful
Check / check (pull_request) Successful in 4s
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:
13
README.md
13
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user