Skip to content

Commit

Permalink
Fix Makefile (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
7fELF authored May 6, 2022
1 parent b2c162c commit 9fbcabe
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
include go.mk/init.mk
include go.mk/public.mk

PACKAGE := github.com/exoscale/terraform-provider-exoscale

PROJECT_URL = https://$(PACKAGE)
GO_BUILD_EXTRA_ARGS = -v -trimpath
EXTRA_ARGS := -parallel=3 -count=1 -failfast

GO_LD_FLAGS := -ldflags "-s -w -X $(PACKAGE)/version.Version=${VERSION} \
-X $(PACKAGE)/version.Commit=${GIT_REVISION}"
include go.mk/init.mk

GO_LD_FLAGS := "-s -w -X $(PACKAGE)/version.Version=${VERSION} \
-X $(PACKAGE)/version.Commit=${GIT_REVISION}"
GO_BIN_OUTPUT_NAME = terraform-provider-exoscale_v$(VERSION)

GO_BUILD_EXTRA_ARGS = -v -trimpath

EXTRA_ARGS := -parallel=3 -count=1 -failfast
include go.mk/public.mk

.PHONY: test-acc test-verbose test
test: GO_TEST_EXTRA_ARGS=${EXTRA_ARGS}
Expand Down

0 comments on commit 9fbcabe

Please sign in to comment.