compliance/test-simple-v2.bat
2025-08-27 16:55:39 +08:00

44 lines
880 B
Batchfile

@echo off
echo === Test Simple V2 ===
echo.
REM Clean up
for /d %%d in (dms-compliance-*) do rmdir /s /q "%%d" 2>nul
for %%f in (*.zip) do del "%%f" 2>nul
echo Testing with input: 1, 0, y
echo.
(
echo 1
echo 0
echo y
) | create-compose-package-windows-simple-v2.bat
echo.
echo === Results ===
for %%f in (*.zip) do (
if exist "%%f" (
echo [SUCCESS] Found: %%f
powershell -command "Expand-Archive -Path '%%f' -DestinationPath '.' -Force"
for /d %%d in (dms-compliance-*) do (
if exist "%%d" (
echo [INFO] Directory: %%d
dir "%%d" /b
if exist "%%d\docker-compose.yml" (
echo [INFO] docker-compose.yml:
type "%%d\docker-compose.yml"
)
goto :done
)
)
)
)
:done
pause