Files
crossbar/docs/plans/v0/files/Makefile
T
kyleandClaude Fable 5.1 89e47d83f8 v0 plan: AGENTS.md, gate, five task files with given tests, run-plan driver
Tests were run against a private reference implementation: gate ok after every
task in order, smoke ok (stream spread ~1000 ms). The reference is not in the
repository.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-25 01:51:53 -07:00

18 lines
464 B
Makefile

# crossbar gate. `make gate` must pass before any task is called done. It needs no network.
.PHONY: gate build smoke
gate:
@test -z "$$(gofmt -l . 2>&1)" || { echo "gofmt: these files need formatting:"; gofmt -l .; exit 1; }
go vet ./...
go test -race -count=1 ./...
sh scripts/check-lines.sh
@echo "gate: ok"
build:
go build -o bin/ ./cmd/...
# Runs the whole thing against two fake upstreams. Task 05 brings the script.
smoke: build
sh tools/smoke.sh