#!/bin/bash

BOLD=`tput bold`
BLUE=`tput setaf 34`
RESET=`tput sgr0`
TEXT='Recompiling binaries'

printf %s$'\n' "${BOLD}${BLUE}==>${RESET}${BOLD} ${TEXT}${RESET}"

git submodule init
git submodule update
make clean all


Add git-hook to recompile binaries after pulling
Add git-hook to recompile binaries after pulling

This simple little script runs from my local fork of Google's WOFF2 repo
whenever an update's been pulled remotely.

Copy to .git/hooks/post-merge and remember to assign +x permissions.

See also https://github.com/google/woff2
