#!/bin/sh -x
rm -rf zeus
GOPATH="`pwd`/zeus"
export GOPATH
mkdir -p $GOPATH
( cd $GOPATH
  go get -v -d github.com/dreadl0ck/zeus/...
)
( cd $GOPATH/src/github.com/dreadl0ck/zeus
  dep ensure
)
tar cvf - --exclude .git zeus | xz -9 >zeus-`date '+%Y%m%d'`.tar.xz
rm -rf zeus
