过滤掉 .vscode 否则发生错误
This commit is contained in:
		
							parent
							
								
									2f527c84ea
								
							
						
					
					
						commit
						e5542ea0c9
					
				| @ -1,6 +1,6 @@ | |||||||
| @echo off  | @echo off  | ||||||
| 
 | 
 | ||||||
| echo *** Testing Path [%1]  [D:\faroenar]  [C:\faroenar]  [%HOMEDRIVE%%HOMEPATH%\faronear]  [../..]  | echo *** Testing Path [%1]  [D:\faronear]  [C:\faronear]  [%HOMEDRIVE%%HOMEPATH%\faronear]  [../..] | ||||||
| 
 | 
 | ||||||
| @ if not "%1" == "" ( | @ if not "%1" == "" ( | ||||||
|   set BASEDIR=%1 |   set BASEDIR=%1 | ||||||
| @ -24,21 +24,24 @@ echo *** Current path = [%CD%] *** | |||||||
| 
 | 
 | ||||||
| @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 ) | @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 %%d in (*) do ( | for /d %%o in (*) do ( | ||||||
|   pushd %%d |   if not %%o == .vscode ( | ||||||
|   for /d %%d in (*) do ( |     pushd %%o | ||||||
|     if exist %%d/.git ( |     for /d %%g in (*) do ( | ||||||
|       pushd %%d |       if exist %%g/.git ( | ||||||
|       echo ---  git pulling: %%d ... |         pushd %%g | ||||||
|  |         echo ---  git pulling: %%g ... | ||||||
|         git pull |         git pull | ||||||
|         popd |         popd | ||||||
|       ) |       ) | ||||||
|     ) |     ) | ||||||
|     popd |     popd | ||||||
|  |   ) | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| popd | popd | ||||||
| 
 | 
 | ||||||
|  | :END | ||||||
|  | 
 | ||||||
| pause | pause | ||||||
| 
 | 
 | ||||||
| :END |  | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| @echo off | @echo off | ||||||
| 
 | 
 | ||||||
| echo *** Testing Path [%1]  [D:\faroenar]  [C:\faroenar]  [%HOMEDRIVE%%HOMEPATH%\faronear]  [../..]  | echo *** Testing Path [%1]  [D:\faronear]  [C:\faronear]  [%HOMEDRIVE%%HOMEPATH%\faronear]  [../..] | ||||||
| 
 | 
 | ||||||
| @ if not "%1" == "" ( | @ if not "%1" == "" ( | ||||||
|   set BASEDIR=%1 |   set BASEDIR=%1 | ||||||
| @ -24,21 +24,23 @@ echo *** Current path = [%CD%] *** | |||||||
| 
 | 
 | ||||||
| @REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do if exist %%d/package.json ( pushd %%d & echo --- npm booting: %%d ... & npm run boot & popd ) ) & popd ) | @REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do if exist %%d/package.json ( pushd %%d & echo --- npm booting: %%d ... & npm run boot & popd ) ) & popd ) | ||||||
| 
 | 
 | ||||||
| for /d %%d in (*) do (  | for /d %%o in (*) do ( | ||||||
|   pushd %%d  |   if not %%o == .vscode ( | ||||||
|   for /d %%d in (*) do ( |     pushd %%o  | ||||||
|     if exist %%d/package.json ( |     for /d %%g in (*) do ( | ||||||
|       pushd %%d  |       if exist %%g/package.json ( | ||||||
|       echo --- npm booting: %%d ...  |         pushd %%g  | ||||||
|  |         echo --- npm booting: %%g ...  | ||||||
|         npm run boot |         npm run boot | ||||||
|         popd  |         popd  | ||||||
|       )  |       )  | ||||||
|     )  |     )  | ||||||
|     popd |     popd | ||||||
|  |   ) | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| popd | popd | ||||||
| 
 | 
 | ||||||
| pause |  | ||||||
| 
 |  | ||||||
| :END | :END | ||||||
|  | 
 | ||||||
|  | pause | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user