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