rm -rf libmqtt
mkdir libmqtt
cd libmqtt
export GOPATH=`pwd`
go get -v -d github.com/goiiot/libmqtt/...
cd ..
tar -c -f- --exclude .git libmqtt | xz -9 >libmqtt-`date '+%Y%m%d'`.tar.xz
rm -rf libmqtt
