commit 8d8a5913f420a67204ec7ae6591e5ac8d4755704 Author: Bottersnike Date: Thu Feb 3 21:13:20 2022 +0000 Initial commit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..55041c1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,15 @@ +[submodule "docs"] + path = docs + url = https://gitea.tendokyu.moe/eamuse/docs.git +[submodule "eaapi"] + path = eaapi + url = https://gitea.tendokyu.moe/eamuse/eaapi.git +[submodule "server-full"] + path = server-full + url = https://gitea.tendokyu.moe/eamuse/server-full.git +[submodule "proxy"] + path = proxy + url = https://gitea.tendokyu.moe/eamuse/proxy.git +[submodule "server-dummy"] + path = server-dummy + url = https://gitea.tendokyu.moe/eamuse/server-dummy.git diff --git a/all.cmd b/all.cmd new file mode 100644 index 0000000..52ea494 --- /dev/null +++ b/all.cmd @@ -0,0 +1,10 @@ +@echo off + +for /D %%G in (%CD%\*) do if exist %%G\.git ( + cd %%G + echo ================================================================ + echo %%G + echo ================================================================ + git %* + cd .. +) diff --git a/commit.cmd b/commit.cmd new file mode 100644 index 0000000..8ed3ae5 --- /dev/null +++ b/commit.cmd @@ -0,0 +1,12 @@ +@echo off + +for /D %%G in (%CD%\*) do if exist %%G\.git ( + cd %%G + set RESULT= + for /f %%i in ('git status -s') do (set RESULT=%%i) + if defined RESULT ( + git add %* + git commit %* + ) + cd .. +) diff --git a/docs b/docs new file mode 160000 index 0000000..0daa10b --- /dev/null +++ b/docs @@ -0,0 +1 @@ +Subproject commit 0daa10b01d5b0177adb85af2644ef5eb03d522ec diff --git a/eaapi b/eaapi new file mode 160000 index 0000000..e8ccee4 --- /dev/null +++ b/eaapi @@ -0,0 +1 @@ +Subproject commit e8ccee4a104962d2b8294ffb322b0ae33c6691a9 diff --git a/proxy b/proxy new file mode 160000 index 0000000..e86933c --- /dev/null +++ b/proxy @@ -0,0 +1 @@ +Subproject commit e86933c3156461147f682c1917c58631436f49f2 diff --git a/server-dummy b/server-dummy new file mode 160000 index 0000000..6e0a6f7 --- /dev/null +++ b/server-dummy @@ -0,0 +1 @@ +Subproject commit 6e0a6f7db88bdfd13b60f724585006f81aa6f8ea diff --git a/server-full b/server-full new file mode 160000 index 0000000..98a4b36 --- /dev/null +++ b/server-full @@ -0,0 +1 @@ +Subproject commit 98a4b36a613cb4d8d42a35e4d1285ce02ae52cfc diff --git a/setup.cmd b/setup.cmd new file mode 100644 index 0000000..4aec320 --- /dev/null +++ b/setup.cmd @@ -0,0 +1,14 @@ +@echo off + +rem Doing this individually means we can just skip over any that error +git submodule init docs +git submodule init eaapi +git submodule init proxy +git submodule init server-dummy +git submodule init server-full + +for /D %%G in (%CD%\*) do if exist %%G\requirements.txt ( + py -m pip install -r %%G\requirements.txt +) + +py -m pip install -e eaapi diff --git a/test.cmd b/test.cmd new file mode 100644 index 0000000..d77fea4 --- /dev/null +++ b/test.cmd @@ -0,0 +1,10 @@ +@echo off + +for /D %%G in (%CD%\*) do if exist %%G\tests ( + cd %%G + echo ================================================================ + echo %%G + echo ================================================================ + py -m unittest + cd .. +)