aboutsummaryrefslogtreecommitdiff
path: root/genstatic.sh
blob: c05d6449bc6fff1b64e7168aadac5624c25a131e (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
# Run this script from the root of the repo to regenerate static content.

set -xue

go get -u github.com/mjibson/esc
${GOPATH}/bin/esc -ignore '\.go' -prefix 'server' \
  -o 'server/static/static.go' -pkg 'static' 'server/static'