diff --git a/Makefile b/Makefile index 4d582de..85a4128 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,17 @@ PACKAGE := github.com/exoscale/vault-plugin-secrets-exoscale PROJECT_URL := https://$(PACKAGE) GO_MAIN_PKG_PATH := ./cmd/vault-plugin-secrets-exoscale + include go.mk/init.mk GO_LD_FLAGS := -ldflags "-s -w -X $(PACKAGE)/version.Version=${VERSION} -X $(PACKAGE)/version.Commit=${GIT_REVISION}" include go.mk/public.mk +ifeq ($(VERSION), dev) + VERSION = v0.0.0+dev +endif + EXTRA_ARGS := -parallel 3 -count=1 -failfast .PHONY: test-acc test-verbose test test: GO_TEST_EXTRA_ARGS=${EXTRA_ARGS}