1
0
mirror of synced 2024-11-27 16:50:47 +01:00
universe/setup.cmd
2022-02-04 01:08:54 +00:00

20 lines
464 B
Batchfile

@echo off
rem Doing this individually means we can just skip over any that error
for /D %%G in (%CD%\*) do (
git submodule update --init %%~nG
)
rem Special case for eaapi.server, unfortunately
set base=%CD%
cd eaapi\eaapi
git submodule update --init server
cd %base%
for /D %%G in (%CD%\*) do if exist %%G\requirements.txt (
py -m pip install -r %%G\requirements.txt
)
for /D %%G in (%CD%\*) do if exist %%G\setup.py (
py -m pip install -e %%~nG
)