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:
Mahmood Ali 2021-04-01 22:03:01 -04:00 committed by GitHub
commit b7529217fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)