File: Makefile

package info (click to toggle)
golang-github-mostynb-go-grpc-compression 1.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: makefile: 7
file content (6 lines) | stat: -rw-r--r-- 263 bytes parent folder | download
1
2
3
4
5
6
OTEL_DOCKER_PROTOBUF ?= otel/build-protobuf:0.4.0
PROTOC := docker run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${OTEL_DOCKER_PROTOBUF} --proto_path=${PWD}

.PHONY: genproto
genproto:
	$(PROTOC) --go_out=plugins=grpc:. internal/testserver/testserver.proto