iop/Makefile
toki 6e2a1fc2f2 feat: edge runtime, opsconsole, CLI target terminology, and e2e validation updates
- Add edge runtime config and opsconsole package
- Refactor edge console to use new runtime config
- Add service source metadata support
- Update CLI adapter with target terminology
- Add edge operation contract and event bus replay
- Update node label and command ops surface
- Add E2E smoke tests and full validation
- Update proto runtime definitions
- Update documentation and agent-ops rules
2026-05-17 14:57:49 +09:00

34 lines
783 B
Makefile

.PHONY: all build tidy test test-e2e proto clean
GOFLAGS ?= -trimpath
all: build
build:
go build $(GOFLAGS) -o bin/node ./apps/node/cmd/node
go build $(GOFLAGS) -o bin/edge ./apps/edge/cmd/edge
go build $(GOFLAGS) -o bin/control-plane ./apps/control-plane/cmd/control-plane
go build $(GOFLAGS) -o bin/worker ./apps/worker/cmd/worker
tidy:
go mod tidy
test:
go test ./...
test-e2e:
./scripts/e2e-smoke.sh
# Requires: protoc + protoc-gen-go (go install google.golang.org/protobuf/cmd/protoc-gen-go@latest)
proto:
protoc \
--go_out=. \
--go_opt=module=iop \
--proto_path=. \
proto/iop/runtime.proto \
proto/iop/node.proto \
proto/iop/control.proto \
proto/iop/job.proto
clean:
rm -f bin/node bin/edge bin/control-plane bin/worker