#!/bin/sh
rm -rf brotli
git clone https://github.com/google/brotli.git
( cd brotli
  git submodule init
  git submodule update --recursive 
)
tar cvf - --exclude .git brotli | xz -9 >brotli-`date '+%Y%m%d'`.tar.xz
rm -rf brotli
