#!/bin/bash BASE_DIR=$(cd `dirname "$0"`;pwd) cd $BASE_DIR /usr/local/bin/protoc --go_out=$BASE_DIR/../gameproto game.proto cp -f game.proto ../tests/demo/static/game.proto