mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
16 lines
539 B
Batchfile
16 lines
539 B
Batchfile
REM this batch file will loop through all the .bat files under bin\windows\
|
|
REM execute the script and check the error level to see if there's any error
|
|
|
|
echo IMPORTANT: this script should be run by the CI (e.g. appveyor) only. There's no need to run this script to update Petstore samples for all generators.
|
|
echo Please press CTRL+C to stop or the script will continue in 10 seconds.
|
|
|
|
timeout 10
|
|
|
|
for /f "delims=" %%i in ('dir /b ".\bin\windows\*.bat"') do (
|
|
|
|
CALL .\bin\windows\%%i
|
|
|
|
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 exit /b 1
|
|
|
|
)
|