iop/Makefile
toki c46874055a feat: edge node unit tests and related updates
- Add edge node unit tests and transport package
- Add node test client and related artifacts
- Update bootstrap, node, and config modules
- Add proto generated files
- Update Makefile and configuration files
2026-05-02 20:09:55 +09:00

31 lines
728 B
Makefile

.PHONY: all build tidy test proto clean
GOFLAGS ?= -trimpath
all: build
build:
go build $(GOFLAGS) -o bin/iop-node ./apps/node/cmd/iop-node
go build $(GOFLAGS) -o bin/iop-edge ./apps/edge/cmd/iop-edge
go build $(GOFLAGS) -o bin/iop-control-plane ./apps/control-plane/cmd/iop-control-plane
go build $(GOFLAGS) -o bin/iop-worker ./apps/worker/cmd/iop-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 -rf bin/