From a1c5a1f4d26555aa00637330ec8b3b7ee552ea4e Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Fri, 30 Aug 2019 11:42:29 +0200 Subject: [PATCH] Makefile: use go proxy Use GOPROXY=https://proxy.golang.org to speed up fetching dependencies. Setting it makes `make vendor` six times faster in my local env. For details please refer to https://proxy.golang.org/. Signed-off-by: Valentin Rothberg --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 568956ea..5d37dd9c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ .PHONY: all binary build-container docs docs-in-container build-local clean install install-binary install-completions shell test-integration .install.vndr vendor +export GOPROXY=https://proxy.golang.org + ifeq ($(shell uname),Darwin) PREFIX ?= ${DESTDIR}/usr/local DARWIN_BUILD_TAG=containers_image_ostree_stub