diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-02-19 00:25:42 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-02-19 00:43:10 +0000 |
commit | e8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba (patch) | |
tree | 52dd38d68c07991bbbb6b8757b0769f4c5fab20e /regen.sh | |
parent | 19dcff5d7245295d4508a71bb0ed2a886ada7a13 (diff) |
Add grpc signer
Diffstat (limited to 'regen.sh')
-rwxr-xr-x | regen.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/regen.sh b/regen.sh new file mode 100755 index 0000000..f525b15 --- /dev/null +++ b/regen.sh @@ -0,0 +1,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 |