From e8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Sun, 19 Feb 2017 00:25:42 +0000 Subject: Add grpc signer --- regen.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 regen.sh (limited to 'regen.sh') 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 -- cgit v1.2.3