#!/bin/sh
rm -rf rocker
mkdir rocker
export GOPATH=`pwd`/rocker
go get -v -d github.com/grammarly/rocker/...
( cd $GOPATH/src/github.com/grammarly/rocker
  go get -v -d -u ./...
)
tar cf - --exclude .git rocker | xz -9 >rocker-`date '+%Y%m%d'`.tar.xz
rm -rf rocker
