rename targetDir to targetFolder in deploy config

This commit is contained in:
陆柯 2022-11-30 13:48:07 +08:00
parent af8b5c549d
commit 95fbc3eb53
3 changed files with 16 additions and 21 deletions

View File

@ -32,7 +32,7 @@ echo *** Starting from [%CD%] ***
echo; echo;
for /d /r %%r in (*) do ( for /d /r %%r in (*) do (
echo "%%r" | findstr "node_modules" >NUL && ( echo; ) || ( echo "%%r" | findstr "node_modules" >NUL || (
if exist "%%r\.git" ( if exist "%%r\.git" (
pushd "%%r" pushd "%%r"
echo ---- git pulling [%%r] ---- echo ---- git pulling [%%r] ----

View File

@ -39,7 +39,7 @@ set /p COMMIT_MESSAGE=">>> "
echo; echo;
for /d /r %%r in (*) do ( for /d /r %%r in (*) do (
echo "%%r" | findstr "node_modules" >NUL && ( echo; ) || ( echo "%%r" | findstr "node_modules" >NUL || (
if exist "%%r\.git" ( if exist "%%r\.git" (
pushd "%%r" pushd "%%r"
echo ---- git commit and push [%%r] ---- echo ---- git commit and push [%%r] ----

View File

@ -35,26 +35,21 @@ echo;
for /d %%o in (*) do ( for /d %%o in (*) do (
@ if not "%%o" == ".vscode" ( @ if not "%%o" == ".vscode" (
@REM @ echo "%%o" | findstr "=" >NUL && ( echo ======== entering [%FONPATH%\%%o] ========
@REM echo !!!!!!!! omitting [%FONPATH%\%%o] !!!!!!!! echo;
@REM echo; pushd %%o
@REM ) || ( for /d %%g in (*) do (
echo ======== entering [%FONPATH%\%%o] ======== @ if exist "%%g\package.json" (
echo; findstr "\"boot\"" %%g\package.json >NUL && (
pushd %%o pushd %%g
for /d %%g in (*) do ( echo ---- npm booting [%FONPATH%\%%o\%%g] ----
@ if exist "%%g\package.json" ( npm run boot
findstr "\"boot\"" %%g\package.json >NUL && ( echo;
pushd %%g popd
echo ---- npm booting [%FONPATH%\%%o\%%g] ---- )
npm run boot
echo;
popd
)
)
) )
popd )
@REM ) popd
) )
) )