rm -rf dep
mkdir dep
cd dep
export GOPATH=`pwd`
mkdir -p src/github.com/golang
git clone https://github.com/golang/dep src/github.com/golang/dep
( cd src/github.com/golang/dep
  dep ensure
)
cd ..
tar -c -f- --exclude .git dep | xz -9 >dep-`date '+%Y%m%d'`.tar.xz
rm -rf dep
