From 3a3f11339a036d6c26a14113999e9c52850ee423 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 18 Mar 2020 11:10:32 +0800 Subject: [PATCH] 1 --- .gitignore | 2 ++ .gitmodules | 6 ++++++ bin/.gitkeeper | 0 boundle.sh | 1 + common.sh | 6 ++++++ manage.py | 1 + reload.sh | 1 + restart.sh | 1 + start_instance.sh | 1 + target/.gitkeeper | 0 third_party/masterserver | 1 + third_party/tools | 1 + 12 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 bin/.gitkeeper create mode 120000 boundle.sh create mode 100644 common.sh create mode 120000 manage.py create mode 120000 reload.sh create mode 120000 restart.sh create mode 120000 start_instance.sh create mode 100644 target/.gitkeeper create mode 160000 third_party/masterserver create mode 160000 third_party/tools diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30fe92e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +bin +target \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0f7ed6f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "third_party/tools"] + path = third_party/tools + url = git@git.kingsome.cn:server_common/tools.git +[submodule "third_party/masterserver"] + path = third_party/masterserver + url = git@git.kingsome.cn:server_common/masterserver.git diff --git a/bin/.gitkeeper b/bin/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/boundle.sh b/boundle.sh new file mode 120000 index 0000000..17508bf --- /dev/null +++ b/boundle.sh @@ -0,0 +1 @@ +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..56bc601 --- /dev/null +++ b/common.sh @@ -0,0 +1,6 @@ +GAME_ID=2004 +PROJECT_NAME=masterserver${GAME_ID} +SRC_EXE_NAME=masterserver +SOURCE_PATH=third_party/masterserver/server/masterserver +COMPILE_FLAGS="-DGAME_ID=${GAME_ID} ." +PRE_COMPILE_CMD="" diff --git a/manage.py b/manage.py new file mode 120000 index 0000000..5575f96 --- /dev/null +++ b/manage.py @@ -0,0 +1 @@ +third_party/tools/scripts/publish_cpp_i_n/manage.py \ No newline at end of file diff --git a/reload.sh b/reload.sh new file mode 120000 index 0000000..4f94bd7 --- /dev/null +++ b/reload.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_cpp_i_n/reload.sh \ No newline at end of file diff --git a/restart.sh b/restart.sh new file mode 120000 index 0000000..40730a5 --- /dev/null +++ b/restart.sh @@ -0,0 +1 @@ +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 new file mode 120000 index 0000000..dc94249 --- /dev/null +++ b/start_instance.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_cpp_i_n/start_instance.sh \ No newline at end of file diff --git a/target/.gitkeeper b/target/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/third_party/masterserver b/third_party/masterserver new file mode 160000 index 0000000..752c0cf --- /dev/null +++ b/third_party/masterserver @@ -0,0 +1 @@ +Subproject commit 752c0cfd768b51a0094a4695b32fdab25d705d4c diff --git a/third_party/tools b/third_party/tools new file mode 160000 index 0000000..04a0bc9 --- /dev/null +++ b/third_party/tools @@ -0,0 +1 @@ +Subproject commit 04a0bc939eeae0090fd0e8964dddf3863a551154