1128XF

对文件夹下的git项目进行批量更新、打包

@echo off
set cdir=%~dp0
echo %cdir%
for /f "delims=" %%i in ('dir /ad/b/s "%cdir%" ') do (
if "%%~nxi" equ ".git" (
cd %%~dpi
mvn clean install -DskipTests

::  git pull
)

)
pause

posted on 2021-04-25 14:26  1128XF  阅读(282)  评论(0编辑  收藏  举报

导航