build: check errors

This commit is contained in:
pavelbannov 2022-08-22 19:46:49 +03:00
parent d165a09a9c
commit 7c03525732

View File

@ -10,26 +10,31 @@ if %errorlevel% == 0 (
call start\stop.bat nopause call start\stop.bat nopause
dotnet build ..\asc.web.slnf /fl1 /flp1:logfile=asc.web.log;verbosity=normal dotnet build ..\asc.web.slnf /fl1 /flp1:logfile=asc.web.log;verbosity=normal
echo. echo.
)
if %errorlevel% == 0 (
echo install nodejs projects dependencies... echo install nodejs projects dependencies...
echo. echo.
for /R "scripts\" %%f in (*.bat) do ( for /R "scripts\" %%f in (*.bat) do (
echo Run script %%~nxf... echo Run script %%~nxf...
echo. echo.
call scripts\%%~nxf call scripts\%%~nxf
) )
)
echo. echo.
if %errorlevel% == 0 (
call start\start.bat nopause call start\start.bat nopause
)
echo. echo.
if "%1"=="nopause" goto end if "%1"=="nopause" goto end
pause pause
)
:end :end