make: embed the Nomad UI data by default (#11018)

This commit is contained in:
Luiz Aoqui 2021-08-09 16:53:44 -04:00 committed by GitHub
parent f720179ba0
commit 5b50b385e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ ifeq ($(CI),true)
GO_TAGS := codegen_generated $(GO_TAGS)
endif
# Don't embed the Nomad UI when the NOMAD_NO_UI env var is set.
ifndef NOMAD_NO_UI
GO_TAGS := ui $(GO_TAGS)
endif
GO_TEST_CMD = $(if $(shell command -v gotestsum 2>/dev/null),gotestsum --,go test)
ifeq ($(origin GOTEST_PKGS_EXCLUDE), undefined)