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