1
0
mirror of synced 2024-11-28 00:50:47 +01:00
universe/setup.cmd

20 lines
464 B
Batchfile
Raw Normal View History

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