Skip to content

Commit

Permalink
Merge pull request #10285 from hashicorp/build-no-codegen-by-default
Browse files Browse the repository at this point in the history
dev: ignore msgpack codegen code in dev by default
  • Loading branch information
Mahmood Ali authored Apr 2, 2021
2 parents f1cb714 + c868444 commit 0b51d88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0b51d88

Please sign in to comment.