Merge pull request #10285 from hashicorp/build-no-codegen-by-default
dev: ignore msgpack codegen code in dev by default
This commit is contained in:
commit
b7529217fe
|
@ -7,7 +7,12 @@ GIT_COMMIT := $(shell git rev-parse HEAD)
|
|||
GIT_DIRTY := $(if $(shell git status --porcelain),+CHANGES)
|
||||
|
||||
GO_LDFLAGS := "-X github.com/hashicorp/nomad/version.GitCommit=$(GIT_COMMIT)$(GIT_DIRTY)"
|
||||
GO_TAGS ?= codegen_generated
|
||||
|
||||
GO_TAGS ?=
|
||||
|
||||
ifeq ($(CI),true)
|
||||
GO_TAGS := codegen_generated $(GO_TAGS)
|
||||
endif
|
||||
|
||||
GO_TEST_CMD = $(if $(shell command -v gotestsum 2>/dev/null),gotestsum --,go test)
|
||||
|
||||
|
|
Loading…
Reference in a new issue