collabvm3-protocol/check
2025-01-10 14:14:41 -05:00

18 lines
308 B
Bash

#!/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