Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit b9bf470

Browse files
committed
Revert "assets/script: update install_lnd.sh to use go modules"
This reverts commit 5f9c001.
1 parent f66c458 commit b9bf470

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

assets/script/install_lnd.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# versions
44
GO_TAG=1.11.1
5-
LND_TAG=349551373d7fd571c2a917908e7155c6c6f9706a
6-
BTCD_TAG=7d2daa5bfef28c5e282571bc06416516936115ee
5+
LND_TAG=0348db760e7476a0e7b917efc58760d01ac04108
6+
BTCD_TAG=2a560b2036bee5e3679ec2133eb6520b2f195213
77

88
# create empty btcd.conf for btcctl
99
if [ "$(uname)" == "Darwin" ]; then
@@ -24,6 +24,12 @@ export GOROOT=$HOME/go
2424
export GOPATH=$HOME/gocode
2525
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
2626

27+
# install dep
28+
go get -u github.com/golang/dep/cmd/dep
29+
30+
# install glide
31+
go get -u github.com/Masterminds/glide
32+
2733
# install lnd
2834
git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
2935
cd $GOPATH/src/github.com/lightningnetwork/lnd
@@ -34,7 +40,8 @@ make && make install tags=experimental
3440
git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd
3541
cd $GOPATH/src/github.com/btcsuite/btcd
3642
git checkout $BTCD_TAG
37-
GO111MODULE=on go install . ./cmd/...
43+
glide install
44+
go install . ./cmd/...
3845

3946
# copy lnd/btcd binaries to git repo for integration tests
4047
cp $GOPATH/bin/* $TRAVIS_BUILD_DIR/assets/bin/$PLATFORM/

0 commit comments

Comments
 (0)