@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
@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