2014-05-09 10:49:22 +04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. ./dev.sh
|
|
|
|
|
2014-10-01 12:47:35 +04:00
|
|
|
# Test godep install
|
|
|
|
godep path > /dev/null 2>&1
|
|
|
|
if [ "$?" = 0 ]; then
|
|
|
|
GOPATH=`godep path`
|
2014-11-21 04:13:48 +03:00
|
|
|
# https://github.com/tools/godep/issues/60
|
|
|
|
# have to rm Godeps/_workspace first, then restore
|
|
|
|
rm -rf $GOPATH
|
2014-10-01 12:47:35 +04:00
|
|
|
godep restore
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2014-11-17 11:31:44 +03:00
|
|
|
go get -u github.com/szferi/gomdb
|
2014-08-04 07:26:08 +04:00
|
|
|
|
2014-11-17 11:31:44 +03:00
|
|
|
go get -u github.com/boltdb/bolt
|
2014-08-04 07:26:08 +04:00
|
|
|
|
2014-11-17 11:31:44 +03:00
|
|
|
go get -u github.com/ugorji/go/codec
|
|
|
|
go get -u github.com/BurntSushi/toml
|
|
|
|
go get -u github.com/edsrzf/mmap-go
|
2014-11-20 17:52:29 +03:00
|
|
|
go get -u github.com/syndtr/goleveldb/leveldb
|
2014-08-02 11:26:33 +04:00
|
|
|
|
2014-11-17 11:31:44 +03:00
|
|
|
go get -u github.com/siddontang/go/bson
|
|
|
|
go get -u github.com/siddontang/go/log
|
|
|
|
go get -u github.com/siddontang/go/snappy
|
|
|
|
go get -u github.com/siddontang/go/num
|
|
|
|
go get -u github.com/siddontang/go/filelock
|
|
|
|
go get -u github.com/siddontang/go/sync2
|
|
|
|
go get -u github.com/siddontang/go/arena
|