From 58f3aaf47d50bb73b80967ddd8a2413b3896d348 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sat, 12 Nov 2022 12:12:09 +0400 Subject: [PATCH] cicd: githooks no longer triggered by grpc. protoc added as alternative to buf. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0aaba4c..0493c00 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,16 @@ go-tools: go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc" go install "google.golang.org/protobuf/cmd/protoc-gen-go" -grpc: githooks go-tools +setup: grpc githooks go-tools + +grpc: buf generate +dist: grpc + +protoc: + protoc --go_out=. --go-grpc_out=. --grpc-gateway_out=. -I .:/usr/include/ OliveTin.proto + podman-image: buildah bud -t olivetin