Skip to content

Commit

Permalink
Merge pull request #234 from ko4life-net/project-submodules
Browse files Browse the repository at this point in the history
Initialize sub projects as submodules.
  • Loading branch information
stevewgr committed Jun 10, 2024
2 parents 88e4d66 + 30df385 commit 937b888
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
8 changes: 1 addition & 7 deletions config.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/assets
Submodule assets added at acffc0
1 change: 1 addition & 0 deletions src/db
Submodule db added at 115644
1 change: 1 addition & 0 deletions src/vendor
Submodule vendor added at 5ccc70

0 comments on commit 937b888

Please sign in to comment.