Smarter setup

This commit is contained in:
Bottersnike 2022-02-03 21:17:27 +00:00
parent 8d8a5913f4
commit 4173cdb989
2 changed files with 9 additions and 5 deletions

View File

@ -7,6 +7,12 @@ for /D %%G in (%CD%\*) do if exist %%G\.git (
if defined RESULT ( if defined RESULT (
git add %* git add %*
git commit %* git commit %*
set ANY=1
) )
cd .. cd ..
) )
if defined ANY (
git add .
git commit %*
)

View File

@ -1,11 +1,9 @@
@echo off @echo off
rem Doing this individually means we can just skip over any that error rem Doing this individually means we can just skip over any that error
git submodule init docs for /D %%G in (%CD%\*) do (
git submodule init eaapi git submodule update %%~nG
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 ( for /D %%G in (%CD%\*) do if exist %%G\requirements.txt (
py -m pip install -r %%G\requirements.txt py -m pip install -r %%G\requirements.txt