Debian Codegraph @

Makefile

raw
1 all: proto
2
3 install:
4 go mod vendor
5 GO111MODULE=off go get -u github.com/gogo/protobuf/protoc-gen-gogofaster
6 GO111MODULE=off go get github.com/hairyhenderson/gomplate
7
8 proto:
9 gomplate -f client.template > definitions/client.proto
10 GOGO=1 gomplate -f client.template > client.proto
11 cat client.proto
12 protoc --proto_path=vendor/:. --gogofaster_out=plugins=grpc:../protocol client.proto
13 rm client.proto
14
15 test:
16 go test -race