|
|
@@ -1,3 +1,4 @@
|
|
|
+ADAPT_PATH = ./pkg/net
|
|
|
serv.build:
|
|
|
clear
|
|
|
go fmt ./...
|
|
|
@@ -30,6 +31,13 @@ test.run:
|
|
|
go fmt ./...
|
|
|
go test -vet=all -race -timeout 30s -coverprofile cover.out ./...
|
|
|
go tool cover -func=cover.out
|
|
|
+proto:
|
|
|
+ clear
|
|
|
+ protoc --go_out=$(ADAPT_PATH) \
|
|
|
+ --go_opt=paths=import \
|
|
|
+ --go-grpc_out=$(ADAPT_PATH) \
|
|
|
+ --go-grpc_opt=paths=import \
|
|
|
+ $(ADAPT_PATH)/gobus.proto
|
|
|
|
|
|
SERVICEURL=./
|
|
|
graph:
|