mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-18 21:32:30 +01:00
docs: use go modules instead of glide
Fixes https://github.com/btcsuite/btcd/issues/1379
This commit is contained in:
parent
306aecffea
commit
aa6e0f3570
@ -95,11 +95,9 @@ recommended that `GOPATH` is set to a directory in your home directory such as
|
||||
- Run the following commands to obtain btcd, all dependencies, and install it:
|
||||
|
||||
```bash
|
||||
$ go get -u github.com/Masterminds/glide
|
||||
$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd
|
||||
$ cd $GOPATH/src/github.com/btcsuite/btcd
|
||||
$ glide install
|
||||
$ go install . ./cmd/...
|
||||
$ GO111MODULE=on go install -v . ./cmd/...
|
||||
```
|
||||
|
||||
- btcd (and utilities) will now be installed in ```$GOPATH/bin```. If you did
|
||||
@ -112,8 +110,7 @@ $ go install . ./cmd/...
|
||||
|
||||
```bash
|
||||
$ cd $GOPATH/src/github.com/btcsuite/btcd
|
||||
$ git pull && glide install
|
||||
$ go install . ./cmd/...
|
||||
$ git pull && GO111MODULE=on go install -v . ./cmd/...
|
||||
```
|
||||
|
||||
<a name="GentooInstallation" />
|
||||
|
Loading…
Reference in New Issue
Block a user