Switch components to submodules

This commit is contained in:
Tobias Reisinger 2024-05-27 20:47:36 +02:00
parent 3ce0dc2266
commit a759c65019
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 16 additions and 17 deletions

4
.gitignore vendored
View file

@ -1,7 +1,3 @@
/common
/core
/controller
/emgauwa-*.json
/emgauwa-*.sqlite

9
.gitmodules vendored Normal file
View file

@ -0,0 +1,9 @@
[submodule "common"]
path = common
url = git@git.serguzim.me:emgauwa/common.git
[submodule "core"]
path = core
url = git@git.serguzim.me:emgauwa/core.git
[submodule "controller"]
path = controller
url = git@git.serguzim.me:emgauwa/controller.git

View file

@ -2,17 +2,8 @@ configs:
$(MAKE) -C core config
$(MAKE) -C controller config
git-clone-http:
git clone https://git.serguzim.me/emgauwa/common.git
git clone https://git.serguzim.me/emgauwa/core.git
git clone https://git.serguzim.me/emgauwa/controller.git
git-clone-ssh:
git clone git@git.serguzim.me:emgauwa/common.git
git clone git@git.serguzim.me:emgauwa/core.git
git clone git@git.serguzim.me:emgauwa/controller.git
git-status:
@printf "===== COMMON =====\n" && cd common && git status
@printf "\n\n===== CORE =====\n" && cd core && git status
@printf "\n\n===== CONTROLLER =====\n" && cd controller && git status
git submodule foreach git status
git-diff:
git diff --submodule=diff

1
common Submodule

@ -0,0 +1 @@
Subproject commit 473832f58a258e404d7bba0ca20a3ff58e6ba11c

1
controller Submodule

@ -0,0 +1 @@
Subproject commit 8244a1d8374d46462b7396afd3a81c99cebdd89a

1
core Submodule

@ -0,0 +1 @@
Subproject commit 470b9c905b6e1f494f0554b75d77d5349bf11c85