diff --git a/bin/windows/run-all-petstore.cmd b/bin/windows/run-all-petstore.cmd index 2b49a860a614..9a8bdab6821f 100644 --- a/bin/windows/run-all-petstore.cmd +++ b/bin/windows/run-all-petstore.cmd @@ -1,3 +1,11 @@ +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