don't require shallow clones of old commits (#38)

* don't require shallow clones of old commits

doesn't look like github allows it. hints here:
https://stackoverflow.com/questions/31278902/how-to-shallow-clone-a-specific-commit-with-depth-1

* don't try to update submodules
This commit is contained in:
JT Olds 2018-05-09 07:21:53 -06:00 committed by Kaloyan Raev
parent fc7cfde9f7
commit dd2fbb5069
2 changed files with 3 additions and 3 deletions

View File

@ -23,8 +23,8 @@ proto:
./scripts/build-protos.sh
build-dev-deps:
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/alecthomas/gometalinter
go get github.com/golang/protobuf/protoc-gen-go
go get github.com/alecthomas/gometalinter
gometalinter --install --force
test: lint

View File

@ -2,7 +2,7 @@ set -x
mkdir -p $HOME/gopath-staging
cd $HOME/gopath-staging
git clone --depth=1 --recursive --shallow-submodules https://github.com/storj/storj-vendor.git .
git clone --recursive https://github.com/storj/storj-vendor.git .
./setup.sh
mkdir -p src/storj.io
mv $HOME/gopath/src/github.com/storj/storj src/storj.io