This commit is contained in:
tycho garen
2022-06-24 14:17:26 -04:00
parent 55334b3c1f
commit f72b36916e

View File

@@ -13,6 +13,7 @@ endif
LD_FLAGS = -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(VERSION)
BUILD_FLAGS = -mod=readonly -ldflags "$(LD_FLAGS)"
HTTPS_GIT := https://github.com/tendermint/tendermint.git
DOCKER_BUF := docker run -v $(shell pwd):/workspace --workdir /workspace bufbuild/buf
CGO_ENABLED ?= 0
# handle nostrip
@@ -113,7 +114,7 @@ proto-format: check-proto-format-deps
.PHONY: proto-format
proto-check-breaking-ci:
@go run github.com/bufbuild/buf/cmd/buf breaking --against ".git"#branch=v0.34.x
@go run github.com/bufbuild/buf/cmd/buf breaking --against $(HTTPS_GIT)#branch=v0.34.x
.PHONY: proto-check-breaking-ci
###############################################################################