build: force go modules off when using metalinter in makefile

This commit is contained in:
Olaoluwa Osuntokun committed 2018-11-29 21:26:30 -08:00
1 parent 00001e7dad
commit 910757d30e
1 file changed
+2 -2
+2 -2
View File
@@ -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: