Skip to content

Commit eb496c4

Browse files
committed
[fixup] explicit validation section
1 parent 6a10eb5 commit eb496c4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

vcbuild.bat

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ set nghttp2_debug=
5353
set link_module=
5454

5555
:next-arg
56-
if "%1"=="" goto args-done
56+
if "%1"=="" goto environment-validate
5757
if /i "%1"=="debug" set config=Debug&goto arg-ok
5858
if /i "%1"=="release" set config=Release&goto arg-ok
5959
if /i "%1"=="clean" set target=Clean&goto arg-ok
@@ -125,13 +125,7 @@ shift
125125
shift
126126
goto next-arg
127127

128-
:args-done
129-
130-
REM Shortcut for just linting (does not need python)
131-
if "%*"=="lint" (
132-
goto lint-cpp
133-
)
134-
128+
:environment-validate
135129
REM Make sure we can find python
136130
call :run-python --version > NUL
137131
if errorlevel 1 (
@@ -140,6 +134,12 @@ if errorlevel 1 (
140134
exit /b 1
141135
)
142136

137+
138+
REM Shortcut for just linting (does not need python)
139+
if "%*"=="lint" (
140+
goto lint-cpp
141+
)
142+
143143
if defined build_release (
144144
set config=Release
145145
set package=1

0 commit comments

Comments
 (0)