#!/bin/sh -x
rm -rf rget
GOPATH="`pwd`/rget"
mkdir -p $GOPATH/src/go.merklecounty.com
git clone --depth 1 https://github.com/merklecounty/rget $GOPATH/src/go.merklecounty.com/rget
tar cvf - --exclude .git rget | xz -9 >rget-`date '+%Y%m%d'`.tar.xz
rm -rf rget
