#!/bin/sh
rm -rf gotty
mkdir gotty
export GOPATH=`pwd`/gotty
go get -v -d github.com/yudai/gotty/...
tar cf - --exclude .git gotty | xz -9 >gotty-`date '+%Y%m%d'`.tar.xz
rm -rf gotty
