.PHONY: build install test proto tidy safety-check # Build the ninja binary into ./bin/ninja. build: go build -o bin/ninja ./cmd/ninja # Install ninja onto $GOBIN/$GOPATH/bin (yields `ninja` on PATH). install: go install ./cmd/ninja # Run the full test suite (compiles guest wasm fixtures; needs the Go # toolchain with GOOS=wasip1 support and network access to the block/core # module proxy for the pinned guest SDK). test: go test ./... # Regenerate the vendored orchestrator client from proto/. # Requires buf + protoc-gen-go + protoc-gen-connect-go on PATH. proto: buf generate --path proto/orchestrator/v1/plugin_registry.proto tidy: go mod tidy # Static safety gate (shared workspace tool). safety-check: cd ../check-safety && go run . ../cli