This commit is contained in:
aozhiwei 2019-11-28 14:22:10 +08:00
parent fc41c2e8e3
commit c2cdad0a58
2 changed files with 7 additions and 3 deletions

View File

@ -1,9 +1,11 @@
source ./common.sh
cd third_party/wsproxy/server/wsproxy
python ../tools/scripts/construct/build_pb.py --nohooks 1
cmake -DGAME_ID=2002 -DMASTER_MODE=1 .
cmake -DGAME_ID=${GAME_ID} -DMASTER_MODE=1 .
make clean
make
cp ../bin/wsproxy ../../../../bin/wsproxy${GAME_ID}
cp ../bin/wsproxy ../../../../bin/${PROJECT_NAME}
cd ../../../../
@ -11,4 +13,4 @@ tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
dir_name=`basename $PWD`
package_name=${dir_name}.tar.gz
tar --exclude=*.git -chzf target/${package_name} bin reload.sh restart.sh start_instance.sh manage.py config
tar --exclude=*.git -chzf target/${package_name} bin common.sh reload.sh restart.sh start_instance.sh manage.py config

View File

@ -0,0 +1,2 @@
source ./common.sh
echo ${PROJECT_NAME}