#!/bin/sh
rm -rf tsuru
mkdir tsuru
export GOPATH=`pwd`/tsuru
git clone https://github.com/tsuru/tsuru.git $GOPATH/src/github.com/tsuru/tsuru
tar cf - --exclude .git tsuru | xz -9 >tsuru-`date '+%Y%m%d'`.tar.xz
rm -rf tsuru
