Lines Matching refs:goto

7 if /i "%1"=="help" goto help

8 if /i "%1"=="--help" goto help
9 if /i "%1"=="-help" goto help
10 if /i "%1"=="/help" goto help
11 if /i "%1"=="?" goto help
12 if /i "%1"=="-?" goto help
13 if /i "%1"=="--?" goto help
14 if /i "%1"=="/?" goto help
79 if "%1"=="" goto args-done
80 if /i "%1"=="debug" set config=Debug&goto arg-ok
81 if /i "%1"=="release" set config=Release&set ltcg=1&set cctest=1&goto arg-ok
82 if /i "%1"=="clean" set target=Clean&goto arg-ok
83 if /i "%1"=="testclean" set target=TestClean&goto arg-ok
84 if /i "%1"=="ia32" set target_arch=x86&goto arg-ok
85 if /i "%1"=="x86" set target_arch=x86&goto arg-ok
86 if /i "%1"=="x64" set target_arch=x64&goto arg-ok
87 if /i "%1"=="arm64" set target_arch=arm64&goto arg-ok
88 if /i "%1"=="vs2019" set target_env=vs2019&goto arg-ok
89 if /i "%1"=="vs2022" set target_env=vs2022&goto arg-ok
90 if /i "%1"=="noprojgen" set noprojgen=1&goto arg-ok
91 if /i "%1"=="projgen" set projgen=1&goto arg-ok
92 if /i "%1"=="nobuild" set nobuild=1&goto arg-ok
93 if /i "%1"=="nosign" set "sign="&echo Note: vcbuild no longer signs by default. "nosign" is redundant.&goto arg-ok
94 if /i "%1"=="sign" set sign=1&goto arg-ok
95 if /i "%1"=="nosnapshot" set nosnapshot=1&goto arg-ok
96 if /i "%1"=="nonpm" set nonpm=1&goto arg-ok
97 if /i "%1"=="nocorepack" set nocorepack=1&goto arg-ok
98 if /i "%1"=="noetw" set noetw=1&goto arg-ok
99 if /i "%1"=="ltcg" set ltcg=1&goto arg-ok
100 if /i "%1"=="licensertf" set licensertf=1&goto arg-ok
101 if /i "%1"=="test" set test_args=%test_args% %common_test_suites%&set lint_cpp=1&set lint_js=1&set lint_md=1&goto arg-ok
102 if /i "%1"=="test-ci-native" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap %CI_NATIVE_SUITES% %CI_DOC%&set build_addons=1&set build_js_native_api_tests=1&set build_node_api_tests=1&set cctest_args=%cctest_args% --gtest_output=xml:cctest.junit.xml&goto arg-ok
103 if /i "%1"=="test-ci-js" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap %CI_JS_SUITES%&set no_cctest=1&goto arg-ok
104 if /i "%1"=="build-addons" set build_addons=1&goto arg-ok
105 if /i "%1"=="build-js-native-api-tests" set build_js_native_api_tests=1&goto arg-ok
106 if /i "%1"=="build-node-api-tests" set build_node_api_tests=1&goto arg-ok
107 if /i "%1"=="test-addons" set test_args=%test_args% addons&set build_addons=1&goto arg-ok
108 if /i "%1"=="test-doc" set test_args=%test_args% %CI_DOC%&set doc=1&&set lint_js=1&set lint_md=1&goto arg-ok
109 if /i "%1"=="test-js-native-api" set test_args=%test_args% js-native-api&set build_js_native_api_tests=1&goto arg-ok
110 if /i "%1"=="test-node-api" set test_args=%test_args% node-api&set build_node_api_tests=1&goto arg-ok
111 if /i "%1"=="test-benchmark" set test_args=%test_args% benchmark&goto arg-ok
112 if /i "%1"=="test-simple" set test_args=%test_args% sequential parallel&goto arg-ok
113 if /i "%1"=="test-message" set test_args=%test_args% message&goto arg-ok
114 if /i "%1"=="test-tick-processor" set test_args=%test_args% tick-processor&goto arg-ok
115 if /i "%1"=="test-internet" set test_args=%test_args% internet&goto arg-ok
116 if /i "%1"=="test-pummel" set test_args=%test_args% pummel&goto arg-ok
117 if /i "%1"=="test-known-issues" set test_args=%test_args% known_issues&goto arg-ok
118 if /i "%1"=="test-async-hooks" set test_args=%test_args% async-hooks&goto arg-ok
119 if /i "%1"=="test-all" set test_args=%test_args% gc internet pummel %common_test_suites%&set lint_cpp=1&set lint_js=1&goto arg-ok
120 if /i "%1"=="test-node-inspect" set test_node_inspect=1&goto arg-ok
121 if /i "%1"=="test-check-deopts" set test_check_deopts=1&goto arg-ok
122 if /i "%1"=="test-npm" set test_npm=1&goto arg-ok
123 if /i "%1"=="test-v8" set test_v8=1&set custom_v8_test=1&goto arg-ok
124 if /i "%1"=="test-v8-intl" set test_v8_intl=1&set custom_v8_test=1&goto arg-ok
125 if /i "%1"=="test-v8-benchmarks" set test_v8_benchmarks=1&set custom_v8_test=1&goto arg-ok
126 if /i "%1"=="test-v8-all" set test_v8=1&set test_v8_intl=1&set test_v8_benchmarks=1&set custom_v8_test=1&goto arg-ok
127 if /i "%1"=="lint-cpp" set lint_cpp=1&goto arg-ok
128 if /i "%1"=="lint-js" set lint_js=1&goto arg-ok
129 if /i "%1"=="jslint" set lint_js=1&echo Please use lint-js instead of jslint&goto arg-ok
130 if /i "%1"=="lint-md" set lint_md=1&goto arg-ok
131 if /i "%1"=="lint-md-build" set lint_md_build=1&goto arg-ok
132 if /i "%1"=="lint" set lint_cpp=1&set lint_js=1&set lint_md=1&goto arg-ok
133 if /i "%1"=="lint-ci" set lint_cpp=1&set lint_js_ci=1&goto arg-ok
134 if /i "%1"=="package" set package=1&goto arg-ok
135 if /i "%1"=="msi" set msi=1&set licensertf=1&set download_arg="--download=all"&set i18n_arg=full-icu&goto arg-ok
136 if /i "%1"=="build-release" set build_release=1&set sign=1&goto arg-ok
137 if /i "%1"=="upload" set upload=1&goto arg-ok
138 if /i "%1"=="small-icu" set i18n_arg=%1&goto arg-ok
139 if /i "%1"=="full-icu" set i18n_arg=%1&goto arg-ok
140 if /i "%1"=="intl-none" set i18n_arg=none&goto arg-ok
141 if /i "%1"=="without-intl" set i18n_arg=none&goto arg-ok
142 if /i "%1"=="download-all" set download_arg="--download=all"&goto arg-ok
143 if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&goto arg-ok
144 if /i "%1"=="dll" set dll=1&goto arg-ok
145 if /i "%1"=="enable-vtune" set enable_vtune_arg=1&goto arg-ok
146 if /i "%1"=="static" set enable_static=1&goto arg-ok
147 if /i "%1"=="no-NODE-OPTIONS" set no_NODE_OPTIONS=1&goto arg-ok
148 if /i "%1"=="debug-nghttp2" set debug_nghttp2=1&goto arg-ok
149 if /i "%1"=="link-module" set "link_module= --link-module=%2%link_module%"&goto arg-ok-2
150 if /i "%1"=="no-cctest" set no_cctest=1&goto arg-ok
151 if /i "%1"=="cctest" set cctest=1&goto arg-ok
152 if /i "%1"=="openssl-no-asm" set openssl_no_asm=1&goto arg-ok
153 if /i "%1"=="no-shared-roheap" set no_shared_roheap=1&goto arg-ok
154 if /i "%1"=="doc" set doc=1&goto arg-ok
155 if /i "%1"=="binlog" set extra_msbuild_args=/binaryLogger:%config%\node.binlog&goto arg-ok
164 goto next-arg
191 if "%*"=="lint" if exist "%node_exe%" goto lint-cpp
215 if not exist "%~dp0deps\icu" goto no-depsicu
223 goto exit
228 if errorlevel 1 goto :exit
238 if not "%target%"=="Clean" goto skip-clean
242 if defined noprojgen if defined nobuild goto :after-build
258 if defined target_env if "%target_env%" NEQ "vs2022" goto vs-set-2019
265 if "_%VCINSTALLDIR%_" == "__" goto vs-set-2019
272 goto vs-set-2019
276 goto vs-set-2019
280 if "_%VisualStudioVersion%_" == "_17.0_" if "_%VSCMD_ARG_TGT_ARCH%_"=="_%target_arch%_" goto found_vs2022
288 if errorlevel 1 goto vs-set-2019
294 goto msbuild-found
298 if defined target_env if "%target_env%" NEQ "vs2019" goto msbuild-not-found
305 if "_%VCINSTALLDIR%_" == "__" goto msbuild-not-found
312 goto msbuild-not-found
316 goto msbuild-not-found
320 if "_%VisualStudioVersion%_" == "_16.0_" if "_%VSCMD_ARG_TGT_ARCH%_"=="_%target_arch%_" goto found_vs2019
328 if errorlevel 1 goto msbuild-not-found
334 goto msbuild-found
340 goto exit
347 if defined noprojgen goto msbuild
348 if defined projgen goto run-configure
349 if not exist node.sln goto run-configure
350 if not exist .gyp_configure_stamp goto run-configure
354 if errorlevel 1 goto run-configure
359 goto msbuild
368 if errorlevel 1 goto create-msvs-files-failed
369 if not exist node.sln goto create-msvs-files-failed
377 if defined nobuild goto :after-build
401 if "%target%" == "Clean" goto exit
412 if not defined sign goto licensertf
415 if errorlevel 1 echo Failed to sign exe, got error code %errorlevel%&goto exit
419 if not defined licensertf goto stage_package
434 goto exit
441 if errorlevel 1 echo Failed to generate license.rtf, got error code %errorlevel%&goto exit
444 if not defined stage_package goto install-doctools
453 if errorlevel 1 echo Cannot copy node.exe && goto package_error
455 if errorlevel 1 echo Cannot copy LICENSE && goto package_error
457 if errorlevel 1 echo Cannot copy README.md && goto package_error
459 if errorlevel 1 echo Cannot copy CHANGELOG.md && goto package_error
463 if errorlevel 8 echo Cannot copy npm package && goto package_error
465 if errorlevel 1 echo Cannot copy npm && goto package_error
467 if errorlevel 1 echo Cannot copy npm.cmd && goto package_error
469 if errorlevel 1 echo Cannot copy npx && goto package_error
471 if errorlevel 1 echo Cannot copy npx.cmd && goto package_error
476 if errorlevel 8 echo Cannot copy corepack package && goto package_error
478 if errorlevel 1 echo Cannot copy corepack && goto package_error
480 if errorlevel 1 echo Cannot copy corepack.cmd && goto package_error
484 if errorlevel 1 echo Cannot copy nodevars.bat && goto package_error
486 if errorlevel 1 echo Cannot copy install_tools scripts && goto package_error
489 if errorlevel 1 echo Cannot copy node_etw_provider.man && goto package_error
493 if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
497 if errorlevel 1 echo Cannot copy node.def && goto package_error
501 if errorlevel 1 echo Cannot install headers && goto package_error
507 if not defined package goto msi
512 if errorlevel 1 echo Cannot create %TARGET_NAME%.7z && goto package_error
517 if errorlevel 1 echo Cannot create %TARGET_NAME%.zip && goto package_error
529 goto package_done
537 if not defined msi goto install-doctools
544 if errorlevel 1 goto exit
546 if not defined sign goto upload
548 if errorlevel 1 echo Failed to sign msi, got error code %errorlevel%&goto exit
552 if not defined upload goto install-doctools
561 if errorlevel 1 goto exit
563 if errorlevel 1 goto exit
565 if errorlevel 1 goto exit
567 if errorlevel 1 goto exit
569 if errorlevel 1 goto exit
571 if errorlevel 1 goto exit
573 if errorlevel 1 goto exit
575 if errorlevel 1 goto exit
577 if errorlevel 1 goto exit
584 if errorlevel 1 goto :skip-install-doctools
586 if exist "tools\doc\node_modules\unified\package.json" goto skip-install-doctools
591 if errorlevel 1 goto exit
599 if not defined doc goto run
602 goto run
615 if not defined build_addons goto build-js-native-api-tests
618 goto build-js-native-api-tests
636 if not defined build_js_native_api_tests goto build-node-api-tests
639 goto build-node-api-tests
652 goto build-node-api-tests
655 if not defined build_node_api_tests goto run-tests
658 goto run-tests
671 goto run-tests
674 if defined test_check_deopts goto node-check-deopts
675 if defined test_node_inspect goto node-test-inspect
676 goto node-tests
680 if defined test_node_inspect goto node-test-inspect
681 goto node-tests
686 goto node-tests
689 if not defined test_npm goto no-test-npm
693 if errorlevel 1 goto exit
696 if "%test_args%"=="" goto test-v8
699 if defined no_cctest echo Skipping cctest because no-cctest was specified && goto run-test-py
700 if not exist "%config%\cctest.exe" echo cctest.exe not found. Run "vcbuild test" or "vcbuild cctest" to build it. && goto run-test-py
708 goto test-v8
711 if not defined custom_v8_test goto lint-cpp
713 if errorlevel 1 goto exit
714 goto lint-cpp
717 if not defined lint_cpp goto lint-js
718 if defined NODEJS_MAKE goto run-make-lint
720 if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=make PYTHON=python" & goto run-make-lint
722 if "%ERRORLEVEL%"=="0" set "NODEJS_MAKE=wsl make" & goto run-make-lint
724 goto lint-js
728 goto lint-js
731 if not defined lint_js goto lint-md-build
732 if not exist tools\node_modules\eslint goto no-lint
735 goto lint-md-build
740 goto lint-md-build
743 if not defined lint_md_build goto lint-md
745 goto lint-md
748 if not defined lint_md goto exit
759 goto exit
762 if not defined lint_md goto exit
773 goto exit
779 goto exit
793 goto exit
818 goto distexit
849 goto :EOF