From 40a1cd4efb97c431df226dd1b88b359bd7de7df1 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 13 Apr 2022 17:32:15 -0700 Subject: Remove GO111MODULES use Using it is no longer needed. Signed-off-by: Kir Kolyshkin --- Makefile | 8 ++++---- pkg/api/Makefile | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 63d1342b8..fa9b28bf0 100644 --- a/Makefile +++ b/Makefile @@ -254,9 +254,9 @@ build-all-new-commits: .PHONY: vendor vendor: - GO111MODULE=on $(GO) mod tidy - GO111MODULE=on $(GO) mod vendor - GO111MODULE=on $(GO) mod verify + $(GO) mod tidy + $(GO) mod vendor + $(GO) mod verify .PHONY: vendor-in-container vendor-in-container: @@ -372,7 +372,7 @@ rootlessport: bin/rootlessport .PHONY: generate-bindings generate-bindings: ifneq ($(GOOS),darwin) - GO111MODULE=off $(GOCMD) generate ./pkg/bindings/... ; + $(GOCMD) generate ./pkg/bindings/... ; endif # DO NOT USE: use local-cross instead diff --git a/pkg/api/Makefile b/pkg/api/Makefile index 6da5fb57e..d07cf6f93 100644 --- a/pkg/api/Makefile +++ b/pkg/api/Makefile @@ -1,5 +1,3 @@ -export GO111MODULE=off - SWAGGER_OUT ?= swagger.yaml validate: ${SWAGGER_OUT} -- cgit v1.2.3-54-g00ecf