This commit is contained in:
Luk Lu
2022-01-09 21:59:30 +08:00
parent 813c2f86ad
commit a9b8c1c863
7 changed files with 49 additions and 42 deletions

View File

@@ -21,16 +21,20 @@ if not exist %BASEDIR% (
pushd %BASEDIR%
echo *** Current path = [%CD%] ***
echo;
@REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd )
for /d %%o in (*) do (
echo ======== entering [%BASEDIR%\%%o] ========
echo;
pushd %%o
for /d %%g in (*) do (
if exist %%g\node_modules (
pushd %%g
echo Deleting [%%g\node_modules]
echo ---- Deleting [%%g\node_modules] ----
rd /s /q node_modules
echo;
popd
)
)