Make dependencies explicit in glide.yaml

This commit is contained in:
Ethan Frey 2017-04-10 13:10:57 +02:00
parent 9e57d521ef
commit aecc32d363
3 changed files with 37 additions and 1 deletions

5
.gitignore vendored
View File

@ -1,2 +1,7 @@
*.swp
*.swo
vendor
# these should be locked in the including repo, the dependencies are mainly
# for testing and documentation
glide.lock

View File

@ -6,4 +6,4 @@ docs:
godoc2md $(REPO) > README.md
test:
go test ./...
go test `glide novendor`

31
glide.yaml Normal file
View File

@ -0,0 +1,31 @@
package: github.com/tendermint/go-crypto
import:
- package: github.com/btcsuite/btcd
subpackages:
- btcec
- package: github.com/btcsuite/btcutil
subpackages:
- base58
- package: github.com/tendermint/ed25519
subpackages:
- extra25519
- package: github.com/tendermint/go-common
- package: github.com/tendermint/go-data
version: develop
- package: github.com/tendermint/go-wire
version: develop
- package: golang.org/x/crypto
subpackages:
- blowfish
- nacl/secretbox
- openpgp/armor
- ripemd160
testImport:
- package: github.com/mndrix/btcutil
- package: github.com/stretchr/testify
version: ^1.1.4
subpackages:
- assert
- require
- package: github.com/tyler-smith/go-bip32
- package: github.com/tyler-smith/go-bip39