mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
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):
|
||||
@$(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:
|
||||
|
Loading…
Reference in New Issue
Block a user