Artifact 246e3b4acd799cbe9661a654714bca23913906bc11483797fc19b7afcc68b0e4:
- File
Makefile
— part of check-in
[cfd3f85ff3]
at
2026-08-14 22:29:35
on branch trunk
— OpenAPI reflector over the registry (dagnats 0.0.13)
quarry spec subcommand, RegisterAll with meta.version, required Op.Doc, validate rules feed schemas; make spec-lint via vacuum. (user: dmestas, size: 749) [annotate] [blame] [check-ins using]
# Local gates โ run before every commit. CI (dagnats, later) runs the same. .PHONY: check test vet build fixtures fixtures-real spec-lint check: vet test build # Spec correctness gate (0003 ยง2): lint the generated OpenAPI document with # an off-the-shelf validator. Dev/CI tool only โ never a runtime dep. spec-lint: go run ./cmd/quarry spec > /tmp/quarry-spec.json go run github.com/daveshanley/[email protected] lint --no-banner --no-style --fail-severity error /tmp/quarry-spec.json # Synthetic disposability fixture (fast; the CI corpus). fixtures: fixtures/build-synthetic.sh # Real corpus (sqlite, tcl) โ large clones, opt-in. fixtures-real: fixtures/build-real.sh test: go test ./... vet: go vet ./... build: go build ./...