aboutsummaryrefslogtreecommitdiff
path: root/regen.sh
blob: f525b15092632823c670b7646b98b90be32a095d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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'

go get -u github.com/golang/protobuf/protoc-gen-go
protoc --go_out=plugins=grpc:. proto/signer.proto