From ec4134e78f06869036590b1d28c9f0f89ce66c8a Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Sun, 9 Jun 2024 23:23:52 -0400 Subject: [PATCH 1/2] Initialize sub projects as submodules. --- .gitmodules | 16 ++++++++++++++++ src/assets | 1 + src/db | 1 + src/vendor | 1 + 4 files changed, 19 insertions(+) create mode 100644 .gitmodules create mode 160000 src/assets create mode 160000 src/db create mode 160000 src/vendor diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..62676a39 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,16 @@ +[submodule "src/assets"] + path = src/assets + url = ../ko-assets + branch = 1.1.1 + shallow = true + depth = 1 +[submodule "src/db"] + path = src/db + url = ../ko-db + branch = 1.1.2 +[submodule "src/vendor"] + path = src/vendor + url = ../ko-vendor + branch = 1.1.0 + shallow = true + depth = 1 diff --git a/src/assets b/src/assets new file mode 160000 index 00000000..acffc099 --- /dev/null +++ b/src/assets @@ -0,0 +1 @@ +Subproject commit acffc099acaf56298cba75c15157cc9c7f3668ef diff --git a/src/db b/src/db new file mode 160000 index 00000000..115644f6 --- /dev/null +++ b/src/db @@ -0,0 +1 @@ +Subproject commit 115644f6e1e73885eb0468fe387260269923cae3 diff --git a/src/vendor b/src/vendor new file mode 160000 index 00000000..5ccc7061 --- /dev/null +++ b/src/vendor @@ -0,0 +1 @@ +Subproject commit 5ccc7061cdccd3c6e75fe972a73c919bbbab8f63 From 30df385a50fbfa3e95e317a3cea4df3749178083 Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Mon, 10 Jun 2024 00:04:57 -0400 Subject: [PATCH 2/2] Update config.cmd script to fetch submodules. --- config.cmd | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/config.cmd b/config.cmd index 40e133bc..46fbf130 100644 --- a/config.cmd +++ b/config.cmd @@ -13,13 +13,7 @@ if ERRORLEVEL 1 ( exit 1 ) -rmdir /s /q %CURRENT_PATH%src\assets 2> NUL -rmdir /s /q %CURRENT_PATH%src\vendor 2> NUL -rmdir /s /q %CURRENT_PATH%src\db 2> NUL - -git clone --branch=1.1.1 -c advice.detachedHead=false --depth=1 https://github.com/ko4life-net/ko-assets %CURRENT_PATH%src\assets -git clone --branch=1.1.0 -c advice.detachedHead=false --depth=1 https://github.com/ko4life-net/ko-vendor %CURRENT_PATH%src\vendor -git clone --branch=1.1.2 -c advice.detachedHead=false https://github.com/ko4life-net/ko-db %CURRENT_PATH%src\db +git submodule update --init --recursive @REM src\All.sln