universe/setup.cmd

20 lines
464 B
Batchfile
Raw Normal View History

2022-02-03 21:13:20 +00:00
@echo off
rem Doing this individually means we can just skip over any that error
2022-02-03 21:17:27 +00:00
for /D %%G in (%CD%\*) do (
2022-02-03 21:18:07 +00:00
git submodule update --init %%~nG
2022-02-03 21:17:27 +00:00
)
2022-02-03 21:13:20 +00:00
2022-02-04 01:08:54 +00:00
rem Special case for eaapi.server, unfortunately
set base=%CD%
cd eaapi\eaapi
git submodule update --init server
cd %base%
2022-02-03 21:13:20 +00:00
for /D %%G in (%CD%\*) do if exist %%G\requirements.txt (
py -m pip install -r %%G\requirements.txt
)
2022-02-03 21:18:48 +00:00
for /D %%G in (%CD%\*) do if exist %%G\setup.py (
py -m pip install -e %%~nG
)