diff options
Diffstat (limited to 'genstatic.sh')
-rwxr-xr-x | genstatic.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/genstatic.sh b/genstatic.sh new file mode 100755 index 0000000..c05d644 --- /dev/null +++ b/genstatic.sh @@ -0,0 +1,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' |