File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ set nghttp2_debug=
5353set link_module =
5454
5555:next-arg
56- if " %1 " == " " goto args-done
56+ if " %1 " == " " goto environment-validate
5757if /i " %1 " == " debug" set config = Debug& goto arg-ok
5858if /i " %1 " == " release" set config = Release& goto arg-ok
5959if /i " %1 " == " clean" set target = Clean& goto arg-ok
@@ -125,13 +125,7 @@ shift
125125shift
126126goto 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
135129REM Make sure we can find python
136130call :run-python --version > NUL
137131if 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+
143143if defined build_release (
144144 set config = Release
145145 set package = 1
You can’t perform that action at this time.
0 commit comments