mkdir etcd-env
cd etcd-env
export GOPATH=`pwd`
git clone https://github.com/mattn/etcdenv.git src/github.com/mattn/etcdenv
go get -d -v ./...
cd ..
tar -c -v -f- --exclude .git etcd-env | xz -9 >etcd-env-`date '+%Y%m%d'`.tar.xz
rm -rf etcd-env
