#!/bin/bash # check all //protocol protos generate properly # protos to check PROTOS=( admin.proto remoting.proto vm.proto user.proto vote.proto client.proto server.proto ) mkdir out protoc --cpp_out=out ${PROTOS[@]} || echo "FAILS TO GENERATE! do not check in or I will beat your ass"; rm -rf out