Files
Pengzhan Hao d6e129179c Create scaffolding of ddl-simulator
Implement global server as control plane

Implement device to get their info from global server and connect each
others
2024-12-17 07:31:18 +00:00

11 lines
398 B
Makefile

gen-proto:
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
proto/device.proto
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
proto/global.proto
build:
go build -o _output/global-server cmd/global-server/main.go
go build -o _output/device cmd/device/main.go