build: force go modules off when using metalinter in makefile

This commit is contained in:
Olaoluwa Osuntokun 2018-11-29 21:26:25 -08:00
parent 00001e7dad
commit 910757d30e
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

@ -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: