Skip to content

Commit f950290

Browse files
authored
Build process change (#1606)
* fix: GOFLAGS changed so that the build process uses the vendor directory; * fix: a redundant makefile line removed, prevents local cache build-up;
1 parent 115c8ac commit f950290

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ K3D_HELPER_VERSION ?=
6666
# Go options
6767
GO ?= go
6868
GOENVPATH := $(shell go env GOPATH)
69-
PKG := $(shell go work vendor)
7069
TAGS :=
7170
TESTS := ./...
7271
TESTFLAGS :=
7372
LDFLAGS := -w -s -X github.com/k3d-io/k3d/v5/version.Version=${GIT_TAG} -X github.com/k3d-io/k3d/v5/version.K3sVersion=${K3S_TAG}
7473
GCFLAGS :=
75-
GOFLAGS := -mod=readonly
74+
GOFLAGS := -mod=vendor
7675
BINDIR := $(CURDIR)/bin
7776
BINARIES := k3d
7877

0 commit comments

Comments
 (0)