build: modify make file to use go get with precise btcd hash
This commit is contained in:
parent
eafee05dd2
commit
24ab9970bf
13
Makefile
13
Makefile
@ -95,16 +95,9 @@ $(LINT_BIN):
|
||||
@$(call print, "Fetching gometalinter.v2")
|
||||
GO111MODULE=off go get -u $(LINT_PKG)
|
||||
|
||||
$(BTCD_DIR):
|
||||
@$(call print, "Fetching btcd.")
|
||||
go get -d github.com/btcsuite/btcd
|
||||
|
||||
btcd: $(BTCD_DIR)
|
||||
@$(call print, "Compiling btcd dependencies.")
|
||||
cd $(BTCD_DIR) && ( git checkout $(BTCD_COMMIT) || ( git fetch --all && git checkout $(BTCD_COMMIT) ) )
|
||||
@$(call print, "Installing btcd and btcctl.")
|
||||
$(GOINSTALL) $(BTCD_PKG)
|
||||
$(GOINSTALL) $(BTCD_PKG)/cmd/btcctl
|
||||
btcd:
|
||||
@$(call print, "Installing btcd...")
|
||||
go get -v github.com/btcsuite/btcd/@v0.0.0-20180823030728-$(BTCD_COMMIT)
|
||||
|
||||
# ============
|
||||
# INSTALLATION
|
||||
|
Loading…
Reference in New Issue
Block a user