iop/Makefile
toki b4c6550eab feat: edge/node architecture updates and agent-task integration
- Add node store implementation for edge app
- Add adapters factory for node app
- Update edge and node transport layers
- Update domain rules for edge and node
- Add bin scripts for edge and node
- Update configs and documentation
- Add agent-task node_centralized_mgmt directory
2026-05-03 10:51:29 +09:00

31 lines
739 B
Makefile

.PHONY: all build tidy test 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 ./...
# 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