#!/bin/sh
rm -rf overmind
mkdir overmind
GOPATH=`pwd`/overmind
export GOPATH
git clone https://github.com/DarthSim/overmind $GOPATH/src/github.com/DarthSim/overmind
(   cd $GOPATH/src/github.com/DarthSim/overmind
    go get -v -d
)
tar cvf - --exclude .git overmind | xz -9 >overmind-`date '+%Y%m%d'`.tar.xz
rm -rf overmind
