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