1
0
mirror of synced 2024-11-23 23:20:58 +01:00

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 (
git add %*
git commit %*
set ANY=1
)
cd ..
)
if defined ANY (
git add .
git commit %*
)

View File

@ -1,11 +1,9 @@
@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 (
git submodule update %%~nG
)
for /D %%G in (%CD%\*) do if exist %%G\requirements.txt (
py -m pip install -r %%G\requirements.txt