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