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;
for /d /r %%r in (*) do (
echo "%%r" | findstr "node_modules" >NUL && ( echo; ) || (
echo "%%r" | findstr "node_modules" >NUL || (
if exist "%%r\.git" (
pushd "%%r"
echo ---- git pulling [%%r] ----

View File

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

View File

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