#!/bin/sh
set -e
cd web_assets
go build -x .
./web_assets index.html > _tmp.go
gofmt < _tmp.go > ../web_assets.go
rm -vf _tmp.go