makefile updates (#484)
This commit is contained in:
parent
46c38b351a
commit
56181ba330
4
Makefile
4
Makefile
|
|
@ -1,9 +1,7 @@
|
||||||
dev_build_version=$(shell git describe --tags --always --dirty)
|
dev_build_version=$(shell git describe --tags --always --dirty)
|
||||||
|
|
||||||
export PATH := $(shell pwd)/.tmp/protoc/bin:$(PATH)
|
export PATH := $(shell pwd)/.tmp/protoc/bin:$(PATH)
|
||||||
|
|
||||||
export PROTOC_VERSION := 22.0
|
export PROTOC_VERSION := 22.0
|
||||||
|
|
||||||
# Disable CGO for improved compatibility across distros
|
# Disable CGO for improved compatibility across distros
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
|
|
@ -44,7 +42,9 @@ docker:
|
||||||
generate: .tmp/protoc/bin/protoc
|
generate: .tmp/protoc/bin/protoc
|
||||||
@go install google.golang.org/protobuf/cmd/protoc-gen-go@a709e31e5d12
|
@go install google.golang.org/protobuf/cmd/protoc-gen-go@a709e31e5d12
|
||||||
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
|
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
|
||||||
|
@go install github.com/jhump/protoreflect/desc/sourceinfo/cmd/protoc-gen-gosrcinfo@v1.14.1
|
||||||
go generate ./...
|
go generate ./...
|
||||||
|
go mod tidy
|
||||||
|
|
||||||
.PHONY: checkgenerate
|
.PHONY: checkgenerate
|
||||||
checkgenerate: generate
|
checkgenerate: generate
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue