|
|
@@ -34,12 +34,10 @@ go-tools:
|
|
|
go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
|
go install "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
|
|
|
-setup: grpc githooks go-tools
|
|
|
-
|
|
|
-grpc:
|
|
|
+grpc: go-tools
|
|
|
buf generate
|
|
|
|
|
|
-dist: grpc
|
|
|
+dist: protoc
|
|
|
|
|
|
protoc:
|
|
|
protoc --go_out=. --go-grpc_out=. --grpc-gateway_out=. -I .:/usr/include/ OliveTin.proto
|