Initial commit: stats-gateway gRPC service + dashboard + CLI
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
PROTOC := protoc
|
||||
GEN_OUT := ../gen/stats/v1
|
||||
|
||||
.PHONY: gen
|
||||
gen:
|
||||
mkdir -p $(GEN_OUT)
|
||||
$(PROTOC) \
|
||||
--go_out=$(GEN_OUT) --go_opt=paths=source_relative \
|
||||
--go-grpc_out=$(GEN_OUT) --go-grpc_opt=paths=source_relative \
|
||||
-I . stats.proto
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(GEN_OUT)
|
||||
Reference in New Issue
Block a user