consolidated repo commands in a justfile.
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
# go-heartwood
|
||||
|
||||
## Commands
|
||||
- List available repo commands with `just`
|
||||
|
||||
## Testing
|
||||
- Baseline: `./test dev -race -gcflags "all=-d=checkptr=0" ./...`
|
||||
- Bring up the dev environment: `just up`
|
||||
- Baseline: `just test-race`
|
||||
- During iteration:
|
||||
- All tests: `just test`
|
||||
- Specific tests: `just test -run TestName -v`
|
||||
- Only when analyzing race conditions: `just test-race`
|
||||
- `boltdb/bolt@v1.3.1` triggers a `checkptr` panic under race instrumentation; this is an upstream bug, not a project defect.
|
||||
- Use `just fixtures` to regenerate test fixtures.
|
||||
|
||||
## Quality gate
|
||||
- Run `just fmt && just ci` before staging any changes.
|
||||
|
||||
Reference in New Issue
Block a user