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