#!/bin/sh
rm -rf go-bindata
mkdir go-bindata
cd go-bindata
export GOPATH=`pwd`
git clone https://github.com/jteeuwen/go-bindata.git src/github.com/jteeuwen/go-bindata
go get -d -v ./...
cd ..
tar -c -v -f- --exclude .git go-bindata | xz -9 >go-bindata-`date '+%Y%m%d'`.tar.xz
rm -rf go-bindata
