From a8341455d0cabb83ca113244ad2cb98c8301baea Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 28 Nov 2019 16:24:30 +0800 Subject: [PATCH] add common.sh --- boundle.sh | 2 +- common.sh | 6 ++++++ manage.py | 2 +- reload.sh | 2 +- restart.sh | 2 +- start_instance.sh | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 common.sh diff --git a/boundle.sh b/boundle.sh index 7331e2c..17508bf 120000 --- a/boundle.sh +++ b/boundle.sh @@ -1 +1 @@ -ci_script/boundle.sh \ No newline at end of file +third_party/tools/scripts/publish_cpp_i_n/boundle.sh \ No newline at end of file diff --git a/common.sh b/common.sh new file mode 100644 index 0000000..d050803 --- /dev/null +++ b/common.sh @@ -0,0 +1,6 @@ +GAME_ID=2002 +PROJECT_NAME=masterserver${GAME_ID} +SRC_EXE_NAME=masterserver +SOURCE_PATH=third_party/masterserver/server/masterserver +COMPILE_FLAGS="-DGAME_ID=${GAME_ID} -DMASTER_MODE=1 ." +PRE_COMPILE_CMD="python ../tools/scripts/construct/build_pb.py --nohooks 1" diff --git a/manage.py b/manage.py index 3894562..5575f96 120000 --- a/manage.py +++ b/manage.py @@ -1 +1 @@ -ci_script/manage.py \ No newline at end of file +third_party/tools/scripts/publish_cpp_i_n/manage.py \ No newline at end of file diff --git a/reload.sh b/reload.sh index 3304f9a..4f94bd7 120000 --- a/reload.sh +++ b/reload.sh @@ -1 +1 @@ -ci_script/reload.sh \ No newline at end of file +third_party/tools/scripts/publish_cpp_i_n/reload.sh \ No newline at end of file diff --git a/restart.sh b/restart.sh index 744a7fd..40730a5 120000 --- a/restart.sh +++ b/restart.sh @@ -1 +1 @@ -ci_script/restart.sh \ No newline at end of file +third_party/tools/scripts/publish_cpp_i_n/restart.sh \ No newline at end of file diff --git a/start_instance.sh b/start_instance.sh index 94139f7..dc94249 120000 --- a/start_instance.sh +++ b/start_instance.sh @@ -1 +1 @@ -ci_script/start_instance.sh \ No newline at end of file +third_party/tools/scripts/publish_cpp_i_n/start_instance.sh \ No newline at end of file