iop/Makefile
toki 92042bb2a3 feat: edge node registry, opsconsole, CLI persistent, and e2e smoke updates
- Refactor edge node registry and store for improved management
- Update opsconsole console, events, and status components
- Enhance edge service and transport layers
- Improve CLI persistent adapter and output filter
- Update e2e smoke test script
- Update project and testing domain rules
- Update Makefile and documentation
2026-05-19 09:39:58 +09:00

35 lines
904 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:
@echo "NOTE: test-e2e runs auxiliary smoke only; completion requires bin/edge.sh + bin/node.sh user-flow verification."
./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