From c9a5593a6468bdc06e0af3792017e0c798a5b37b Mon Sep 17 00:00:00 2001 From: Brian Sipple Date: Sun, 2 Dec 2018 18:43:26 -0500 Subject: [PATCH] build: update `make btcd` command with `GO111MODULE=on` --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d3422eab9..8b5c7eacf 100644 --- a/Makefile +++ b/Makefile @@ -94,9 +94,9 @@ $(LINT_BIN): @$(call print, "Fetching gometalinter.v2") GO111MODULE=off go get -u $(LINT_PKG) -btcd: +btcd: @$(call print, "Installing btcd.") - go get -v github.com/btcsuite/btcd/@v0.0.0-20180823030728-$(BTCD_COMMIT) + GO111MODULE=on go get -v github.com/btcsuite/btcd/@v0.0.0-20180823030728-$(BTCD_COMMIT) # ============ # INSTALLATION @@ -121,7 +121,7 @@ scratch: build check: unit itest -itest-only: +itest-only: @$(call print, "Running integration tests.") $(ITEST) @@ -135,7 +135,7 @@ unit-cover: @$(call print, "Running unit coverage tests.") echo "mode: count" > profile.cov $(COVER) - + unit-race: @$(call print, "Running unit race tests.") export CGO_ENABLED=1; env GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE)