@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 )