Lines Matching refs:if
21 rem installer. Trust me, you don't want them, even if it seems like a
34 if NOT DEFINED Py_OutDir set Py_OutDir=%PCBUILD%
49 if "%1" EQU "-h" goto Help
50 if "%1" EQU "-c" (set CERTNAME=%~2) && shift && shift && goto CheckOpts
51 if "%1" EQU "--certificate" (set CERTNAME=%~2) && shift && shift && goto CheckOpts
52 if "%1" EQU "-o" (set OUTDIR=%~2) && shift && shift && goto CheckOpts
53 if "%1" EQU "--out" (set OUTDIR=%~2) && shift && shift && goto CheckOpts
54 if "%1" EQU "-D" (set SKIPDOC=1) && shift && goto CheckOpts
55 if "%1" EQU "--skip-doc" (set SKIPDOC=1) && shift && goto CheckOpts
56 if "%1" EQU "-B" (set SKIPBUILD=1) && shift && goto CheckOpts
57 if "%1" EQU "--skip-build" (set SKIPBUILD=1) && shift && goto CheckOpts
58 if "%1" EQU "--download" (set DOWNLOAD_URL=%~2) && shift && shift && goto CheckOpts
59 if "%1" EQU "--test" (set TESTTARGETDIR=%~2) && shift && shift && goto CheckOpts
60 if "%1" EQU "-b" (set TARGET=Build) && shift && goto CheckOpts
61 if "%1" EQU "--build" (set TARGET=Build) && shift && goto CheckOpts
62 if /I "%1" EQU "-x86" (set BUILDX86=1) && shift && goto CheckOpts
63 if /I "%1" EQU "-Win32" (set BUILDX86=1) && shift && goto CheckOpts
64 if /I "%1" EQU "-x64" (set BUILDX64=1) && shift && goto CheckOpts
65 if /I "%1" EQU "-arm64" (set BUILDARM64=1) && shift && goto CheckOpts
66 if "%1" EQU "--pgo" (set PGO=%~2) && shift && shift && goto CheckOpts
67 if "%1" EQU "--skip-pgo" (set PGO=) && shift && goto CheckOpts
68 if "%1" EQU "--skip-nuget" (set BUILDNUGET=) && shift && goto CheckOpts
69 if "%1" EQU "--skip-zip" (set BUILDZIP=) && shift && goto CheckOpts
70 if "%1" EQU "--skip-msi" (set BUILDMSI=) && shift && goto CheckOpts
72 if "%1" NEQ "" echo Invalid option: "%1" && exit /B 1
74 if not defined BUILDX86 if not defined BUILDX64 if not defined BUILDARM64 (set BUILDX86=1) && (set BUILDX64=1)
76 if not exist "%GIT%" where git > "%TEMP%\git.loc" 2> nul && set /P GIT= < "%TEMP%\git.loc" & del "%TEMP%\git.loc"
77 if not exist "%GIT%" echo Cannot find Git on PATH && exit /B 1
81 if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)
84 if "%SKIPBUILD%" EQU "1" goto skipdoc
85 if "%SKIPDOC%" EQU "1" goto skipdoc
88 if errorlevel 1 exit /B %ERRORLEVEL%
91 if defined BUILDX86 (
93 if errorlevel 1 exit /B %ERRORLEVEL%
96 if defined BUILDX64 (
98 if errorlevel 1 exit /B %ERRORLEVEL%
101 if defined BUILDARM64 (
103 if errorlevel 1 exit /B %ERRORLEVEL%
106 if defined TESTTARGETDIR (
108 if errorlevel 1 exit /B %ERRORLEVEL%
117 if "%1" EQU "x86" (
123 ) else if "%1" EQU "x64" (
129 ) else if "%1" EQU "ARM64" (
140 if exist "%BUILD%en-us" (
143 if errorlevel 1 exit /B %ERRORLEVEL%
146 if exist "%D%obj\Debug_%OBJDIR_PLAT%" (
149 if errorlevel 1 exit /B %ERRORLEVEL%
152 if exist "%D%obj\Release_%OBJDIR_PLAT%" (
155 if errorlevel 1 exit /B %ERRORLEVEL%
158 if not "%CERTNAME%" EQU "" (
163 if not "%PGO%" EQU "" (
168 if not "%SKIPBUILD%" EQU "1" (
171 @if errorlevel 1 exit /B %ERRORLEVEL%
177 @if errorlevel 1 exit /B %ERRORLEVEL%
182 if "%OUTDIR_PLAT%" EQU "win32" (
184 if errorlevel 1 exit /B %ERRORLEVEL%
185 ) else if not exist "%Py_OutDir%win32\en-us\launcher.msi" (
187 if errorlevel 1 exit /B %ERRORLEVEL%
191 if defined BUILDMSI (
193 if errorlevel 1 exit /B %ERRORLEVEL%
196 if defined BUILDZIP (
197 if "%BUILD_PLAT%" EQU "ARM64" (
201 if errorlevel 1 exit /B %ERRORLEVEL%
205 if defined BUILDNUGET (
206 if "%BUILD_PLAT%" EQU "ARM64" (
210 if errorlevel 1 exit /B %ERRORLEVEL%
214 if not "%OUTDIR%" EQU "" (