universe/setup.cmd

14 lines
340 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
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
)