You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
618 B
19 lines
618 B
#!/bin/bash
|
|
SYSTEM=`uname -s`
|
|
RUNTIME_LINUX=ubuntu.16.04-x64
|
|
|
|
echo "run gen"
|
|
OUTPATH=../../u2china_svr_proj/ServerComm/protocol
|
|
./$RUNTIME_LINUX/protocsstruct ./GameCs.proto ./GameSs.proto --csharp_out=${OUTPATH}
|
|
|
|
OUTPATH=../../u2china_cli_proj/arpg/Assets/Scripts/AIMachine/HotFixLogic/protocol
|
|
./$RUNTIME_LINUX/protocsstruct ./GameCs.proto ./GameSs.proto --genclasscfg=./GenClassConfig --namespace=ProtoCSClass --csharp_out=${OUTPATH} -cna
|
|
rm ${OUTPATH}/*_struct.cs
|
|
rm ${OUTPATH}/FixedRepeatedStruct.cs
|
|
rm ${OUTPATH}/GameSs_enum.cs
|
|
echo "success ***********"
|
|
|
|
python3 ./gen_ServerScriptHotfixCheck.py
|
|
|
|
echo $SYSTEM
|
|
|
|
|