#!/bin/sh
rm -rf perkeep
mkdir perkeep
export GOPATH=`pwd`/perkeep
mkdir -p $GOPATH/src
go get -v -d -u perkeep.org/...
tar cf - --exclude .git perkeep | xz -9 >perkeep-`date '+%Y%m%d'`.tar.xz
rm -rf perkeep
