From 910757d30e8da20086b4b344d03ad584f88d94fb Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 29 Nov 2018 21:26:25 -0800 Subject: [PATCH] build: force go modules off when using metalinter in makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 38243b3c..e344d107 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ $(GOVERALLS_BIN): $(LINT_BIN): @$(call print, "Fetching gometalinter.v2") - go get -u $(LINT_PKG) + GO111MODULE=off go get -u $(LINT_PKG) $(BTCD_DIR): @$(call print, "Fetching btcd.") @@ -176,7 +176,7 @@ fmt: lint: $(LINT_BIN) @$(call print, "Linting source.") - $(LINT_BIN) --install 1> /dev/null + GO111MODULE=off $(LINT_BIN) --install 1> /dev/null test -z "$$($(LINT))" list: