@@ -43,26 +43,27 @@ set BUILDZIP=1
4343
4444
4545:CheckOpts
46- if " %1 " EQU " -h" goto Help
47- if " %1 " EQU " -c" (set CERTNAME=%~2 ) && shift && shift && goto CheckOpts
48- if " %1 " EQU " --certificate" (set CERTNAME=%~2 ) && shift && shift && goto CheckOpts
49- if " %1 " EQU " -o" (set OUTDIR=%~2 ) && shift && shift && goto CheckOpts
50- if " %1 " EQU " --out" (set OUTDIR=%~2 ) && shift && shift && goto CheckOpts
51- if " %1 " EQU " -D" (set SKIPDOC=1) && shift && goto CheckOpts
52- if " %1 " EQU " --skip-doc" (set SKIPDOC=1) && shift && goto CheckOpts
53- if " %1 " EQU " -B" (set SKIPBUILD=1) && shift && goto CheckOpts
54- if " %1 " EQU " --skip-build" (set SKIPBUILD=1) && shift && goto CheckOpts
55- if " %1 " EQU " --download" (set DOWNLOAD_URL=%~2 ) && shift && shift && goto CheckOpts
56- if " %1 " EQU " --test" (set TESTTARGETDIR=%~2 ) && shift && shift && goto CheckOpts
57- if " %1 " EQU " -b" (set TARGET=Build) && shift && goto CheckOpts
58- if " %1 " EQU " --build" (set TARGET=Build) && shift && goto CheckOpts
59- if " %1 " EQU " -x86" (set BUILDX86=1) && shift && goto CheckOpts
60- if " %1 " EQU " -x64" (set BUILDX64=1) && shift && goto CheckOpts
61- if " %1 " EQU " --pgo" (set PGO=%~2 ) && shift && shift && goto CheckOpts
62- if " %1 " EQU " --skip-pgo" (set PGO=) && shift && goto CheckOpts
63- if " %1 " EQU " --skip-nuget" (set BUILDNUGET=) && shift && goto CheckOpts
64- if " %1 " EQU " --skip-zip" (set BUILDZIP=) && shift && goto CheckOpts
65- if " %1 " EQU " --skip-msi" (set BUILDMSI=) && shift && goto CheckOpts
46+ if " %1 " EQU " -h" goto Help
47+ if " %1 " EQU " -c" (set CERTNAME=%~2 ) && shift && shift && goto CheckOpts
48+ if " %1 " EQU " --certificate" (set CERTNAME=%~2 ) && shift && shift && goto CheckOpts
49+ if " %1 " EQU " -o" (set OUTDIR=%~2 ) && shift && shift && goto CheckOpts
50+ if " %1 " EQU " --out" (set OUTDIR=%~2 ) && shift && shift && goto CheckOpts
51+ if " %1 " EQU " -D" (set SKIPDOC=1) && shift && goto CheckOpts
52+ if " %1 " EQU " --skip-doc" (set SKIPDOC=1) && shift && goto CheckOpts
53+ if " %1 " EQU " -B" (set SKIPBUILD=1) && shift && goto CheckOpts
54+ if " %1 " EQU " --skip-build" (set SKIPBUILD=1) && shift && goto CheckOpts
55+ if " %1 " EQU " --download" (set DOWNLOAD_URL=%~2 ) && shift && shift && goto CheckOpts
56+ if " %1 " EQU " --test" (set TESTTARGETDIR=%~2 ) && shift && shift && goto CheckOpts
57+ if " %1 " EQU " -b" (set TARGET=Build) && shift && goto CheckOpts
58+ if " %1 " EQU " --build" (set TARGET=Build) && shift && goto CheckOpts
59+ if /I " %1 " EQU " -x86" (set BUILDX86=1) && shift && goto CheckOpts
60+ if /I " %1 " EQU " -Win32" (set BUILDX86=1) && shift && goto CheckOpts
61+ if /I " %1 " EQU " -x64" (set BUILDX64=1) && shift && goto CheckOpts
62+ if " %1 " EQU " --pgo" (set PGO=%~2 ) && shift && shift && goto CheckOpts
63+ if " %1 " EQU " --skip-pgo" (set PGO=) && shift && goto CheckOpts
64+ if " %1 " EQU " --skip-nuget" (set BUILDNUGET=) && shift && goto CheckOpts
65+ if " %1 " EQU " --skip-zip" (set BUILDZIP=) && shift && goto CheckOpts
66+ if " %1 " EQU " --skip-msi" (set BUILDMSI=) && shift && goto CheckOpts
6667
6768if " %1 " NEQ " " echo Invalid option: " %1 " && exit /B 1
6869
0 commit comments