diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2020-01-15 18:00:41 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2020-01-15 18:49:57 -0500 |
| commit | 2fbcfc68d2b8f948053f02f73f6e01a7fb7724cb (patch) | |
| tree | bcd62b43da4040fd4d589bbe044fb1b42979e716 /Makefile | |
| parent | 42bfed36830e6682612f05f67c6543c2613f8e59 (diff) | |
Removing vendor/ folder
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -3,7 +3,6 @@ extension = $(patsubst windows,.exe,$(filter windows,$(1))) GO := go PKG_NAME := gomplate PREFIX := . -GOFLAGS := -mod=vendor ifeq ("$(CI)","true") LINT_PROCS ?= 1 @@ -68,7 +67,6 @@ docker-images: gomplate.iid gomplate-slim.iid $(PREFIX)/bin/$(PKG_NAME)_%: $(shell find $(PREFIX) -type f -name "*.go") GOOS=$(shell echo $* | cut -f1 -d-) GOARCH=$(shell echo $* | cut -f2 -d- | cut -f1 -d.) CGO_ENABLED=0 \ - GOFLAGS=$(GOFLAGS) \ $(GO) build \ -ldflags "-w -s $(COMMIT_FLAG) $(VERSION_FLAG)" \ -o $@ \ @@ -81,14 +79,14 @@ build: $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS)) ifeq ($(OS),Windows_NT) test: - @GOFLAGS=$(GOFLAGS) $(GO) test -v -coverprofile=c.out ./... + $(GO) test -v -coverprofile=c.out ./... else test: - @GOFLAGS=$(GOFLAGS) $(GO) test -v -race -coverprofile=c.out ./... + $(GO) test -v -race -coverprofile=c.out ./... endif integration: build - @GOFLAGS=$(GOFLAGS) $(GO) test -v -tags=integration \ + $(GO) test -v -tags=integration \ ./tests/integration integration.iid: Dockerfile.integration $(PREFIX)/bin/$(PKG_NAME)_linux-amd64$(call extension,$(GOOS)) |
