From 107b073f18ac17ae02bbb4fbc7f6190a12f33d90 Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Mon, 14 Nov 2022 17:22:08 +0800 Subject: [PATCH] u --- git-clone-all.sh | 3 +-- git-pull-recursive.bat | 17 ++++++++--------- npm-clear-all.bat | 1 + npm-clear-recursive.bat | 3 +-- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/git-clone-all.sh b/git-clone-all.sh index 0c4f7e5..e009034 100755 --- a/git-clone-all.sh +++ b/git-clone-all.sh @@ -42,8 +42,6 @@ git clone https://git.faronear.org/npm/wo-user-websocket-uniapp wo-user-websocke git clone https://git.faronear.org/npm/tic-crypto tic-crypto.git git clone https://git.faronear.org/npm/tic-chaintool tic-chaintool.git git clone https://git.faronear.org/npm/tic-traction tic-traction.git - -git clone https://git.faronear.org/npm/vue-cli-uniapp vue-cli-uniapp.git popd mkdir sol @@ -85,6 +83,7 @@ git clone https://git.faronear.org/tuc-pex/pex-blog-hexo pex/pex-blog-hexo.git git clone https://git.faronear.org/tuc-pex/pex-chain-geth pex/pex-chain-geth.git git clone https://git.faronear.org/tuc-pex/pex-contract-hardhat pex/pex-contract-hardhat.git git clone https://git.faronear.org/tuc-pex/pex-server-torm pex/pex-server-torm.git +git clone https://git.faronear.org/tuc-pex/pex-scan-html pex/pex-scan-html.git git clone https://git.faronear.org/tuc-pex/pex-user-uniapp pex/pex-user-uniapp.git git clone https://git.faronear.org/tuc-log/log-team-uniapp log/log-team-uniapp.git diff --git a/git-pull-recursive.bat b/git-pull-recursive.bat index 0be84e4..9446aaa 100644 --- a/git-pull-recursive.bat +++ b/git-pull-recursive.bat @@ -32,19 +32,18 @@ echo *** Starting from [%CD%] *** echo; for /d /r %%r in (*) do ( - echo "%%r" | findstr "\.git" > NUL || ( - echo "%%r" | findstr "node_modules" >NUL || ( - if exist "%%r\.git" ( - pushd "%%r" - echo ---- git pulling [%%r] ---- - git pull --all - echo; - popd - ) + echo "%%r" | findstr "node_modules" >NUL || ( + if exist "%%r\.git" ( + pushd "%%r" + echo ---- git pulling [%%r] ---- + git pull --all + echo; + popd ) ) ) + popd :END diff --git a/npm-clear-all.bat b/npm-clear-all.bat index fed24e5..f1b7b27 100644 --- a/npm-clear-all.bat +++ b/npm-clear-all.bat @@ -34,6 +34,7 @@ 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 ( +@REM windows的链接文件会造成路径错误,从而终止该循环,从而导致下一轮乃至所有循环的工作目录错误。因此要过滤掉 .vscode 这个符号链接目录。 @ if not "%%o" == ".vscode" ( echo ======== entering [%FONPATH%\%%o] ======== echo; diff --git a/npm-clear-recursive.bat b/npm-clear-recursive.bat index 6b80fd0..5cc65fc 100644 --- a/npm-clear-recursive.bat +++ b/npm-clear-recursive.bat @@ -32,8 +32,7 @@ echo *** Starting from [%CD%] *** echo; for /d /r %%r in (*) do ( - @REM windows的链接文件会造成路径错误,从而终止该循环,从而导致下一轮乃至所有循环的工作目录错误。因此要过滤掉 .vscode 这个符号链接目录。 - if not "%%r" == ".vscode" ( + if not "%%r" == "node_modules" ( if exist "%%r\node_modules" ( pushd "%%r" echo ---- Deleting [%FONPATH%\%%r] ----