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