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.

107 lines
1.5 KiB

1 month ago
#!/bin/bash
set -x
for i in "$@"; do
if [[ $i = *"="* ]]; then
eval "$i"
fi
done
share_dir=$(cd $(dirname $0); pwd)
echo $share_dir
cli_dir=$share_dir/../pandora_cli_proj
cd $cli_dir
# git fetch
# git clean -f -d
# git checkout -f $client_branch
# if [ "$tag" != "" ]; then
# git reset $tag --hard
# fi
# git pull
svn cleanup --remove-unversioned
svn revert --depth=infinity .
svn update
svn info
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
cd $share_dir
# git fetch
# git clean -f -d
# git checkout -f $share_branch
# if [ "$tag" != "" ]; then
# git reset $tag --hard
# fi
# git pull
svn cleanup --remove-unversioned
svn revert --depth=infinity .
svn update
svn info
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
echo "run_SpeedMac"
cd $share_dir/ExcelExport
./run_SpeedMac.sh
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
#echo "BuildHotFix"
#cd $share_dir
#./BuildHotFix.sh
#ret=$?
#if [ $ret != 0 ]; then
# exit $ret
#fi
echo "excelTolua"
cd $share_dir/ExcelExport
python excelTolua.py
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
echo "ExportLanguageToText"
python ExportLanguageToText.py
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
# echo "generate_proto_parser"
# cd $share_dir/protocol
# python generate_proto_parser.py
# ret=$?
# if [ $ret != 0 ]; then
# exit $ret
# fi
cd $share_dir/protocol
echo "genmac.sh"
chmod 774 genmac.sh
./genmac.sh
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
echo "export_lua"
python export_lua.py
ret=$?
if [ $ret != 0 ]; then
exit $ret
fi
echo "finish export share"