build: force go modules off when using metalinter in makefile
This commit is contained in:
parent
00001e7dad
commit
910757d30e
4
Makefile
4
Makefile
@ -93,7 +93,7 @@ $(GOVERALLS_BIN):
|
|||||||
|
|
||||||
$(LINT_BIN):
|
$(LINT_BIN):
|
||||||
@$(call print, "Fetching gometalinter.v2")
|
@$(call print, "Fetching gometalinter.v2")
|
||||||
go get -u $(LINT_PKG)
|
GO111MODULE=off go get -u $(LINT_PKG)
|
||||||
|
|
||||||
$(BTCD_DIR):
|
$(BTCD_DIR):
|
||||||
@$(call print, "Fetching btcd.")
|
@$(call print, "Fetching btcd.")
|
||||||
@ -176,7 +176,7 @@ fmt:
|
|||||||
|
|
||||||
lint: $(LINT_BIN)
|
lint: $(LINT_BIN)
|
||||||
@$(call print, "Linting source.")
|
@$(call print, "Linting source.")
|
||||||
$(LINT_BIN) --install 1> /dev/null
|
GO111MODULE=off $(LINT_BIN) --install 1> /dev/null
|
||||||
test -z "$$($(LINT))"
|
test -z "$$($(LINT))"
|
||||||
|
|
||||||
list:
|
list:
|
||||||
|
Loading…
Reference in New Issue
Block a user