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