@@ -33,7 +33,6 @@ set nobuild=
3333set sign =
3434set nosnapshot =
3535set nonpm =
36- set nocorepack =
3736set cctest_args =
3837set test_args =
3938set stage_package =
@@ -95,7 +94,6 @@ if /i "%1"=="nosign" set "sign="&echo Note: vcbuild no longer signs by de
9594if /i " %1 " == " sign" set sign = 1& goto arg-ok
9695if /i " %1 " == " nosnapshot" set nosnapshot = 1& goto arg-ok
9796if /i " %1 " == " nonpm" set nonpm = 1& goto arg-ok
98- if /i " %1 " == " nocorepack" set nocorepack = 1& goto arg-ok
9997if /i " %1 " == " ltcg" set ltcg = 1& goto arg-ok
10098if /i " %1 " == " licensertf" set licensertf = 1& goto arg-ok
10199if /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
@@ -194,7 +192,6 @@ if "%*"=="format-md" if exist "%node_exe%" goto format-md
194192if " %config% " == " Debug" set configure_flags = %configure_flags% --debug
195193if defined nosnapshot set configure_flags = %configure_flags% --without-snapshot
196194if defined nonpm set configure_flags = %configure_flags% --without-npm
197- if defined nocorepack set configure_flags = %configure_flags% --without-corepack
198195if defined ltcg set configure_flags = %configure_flags% --with-ltcg
199196if defined release_urlbase set configure_flags = %configure_flags% --release-urlbase=%release_urlbase%
200197if defined download_arg set configure_flags = %configure_flags% %download_arg%
@@ -458,15 +455,6 @@ if not defined nonpm (
458455 if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error
459456)
460457
461- if not defined nocorepack (
462- robocopy ..\deps\corepack %TARGET_NAME% \node_modules\corepack /e /xd test > nul
463- if errorlevel 8 echo Cannot copy corepack package && goto package_error
464- copy /Y ..\deps\corepack\shims\nodewin\corepack %TARGET_NAME% \ > nul
465- if errorlevel 1 echo Cannot copy corepack && goto package_error
466- copy /Y ..\deps\corepack\shims\nodewin\corepack.cmd %TARGET_NAME% \ > nul
467- if errorlevel 1 echo Cannot copy corepack.cmd && goto package_error
468- )
469-
470458copy /Y ..\tools\msvs\nodevars.bat %TARGET_NAME% \ > nul
471459if errorlevel 1 echo Cannot copy nodevars.bat && goto package_error
472460copy /Y ..\tools\msvs\install_tools\*.* %TARGET_NAME% \ > nul
@@ -807,7 +795,7 @@ set exit_code=1
807795goto exit
808796
809797:help
810- echo vcbuild.bat [debug/release] [msi] [doc] [test/test-all/test-addons/test-doc/test-js-native-api/test-node-api/test-internet/test-tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [clang-cl] [ccache path-to-ccache] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [nonpm] [nocorepack] [ ltcg] [licensetf] [sign] [x64/arm64] [vs2022] [download-all] [enable-vtune] [lint/lint-ci/lint-js/lint-md] [lint-md-build] [format-md] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [cctest] [no-cctest] [openssl-no-asm]
798+ echo vcbuild.bat [debug/release] [msi] [doc] [test/test-all/test-addons/test-doc/test-js-native-api/test-node-api/test-internet/test-tick-processor/test-known-issues/test-node-inspect/test-check-deopts/test-npm/test-v8/test-v8-intl/test-v8-benchmarks/test-v8-all] [ignore-flaky] [static/dll] [noprojgen] [projgen] [clang-cl] [ccache path-to-ccache] [small-icu/full-icu/without-intl] [nobuild] [nosnapshot] [nonpm] [ltcg] [licensetf] [sign] [x64/arm64] [vs2022] [download-all] [enable-vtune] [lint/lint-ci/lint-js/lint-md] [lint-md-build] [format-md] [package] [build-release] [upload] [no-NODE-OPTIONS] [link-module path-to-module] [debug-http2] [debug-nghttp2] [clean] [cctest] [no-cctest] [openssl-no-asm]
811799echo Examples:
812800echo vcbuild.bat : builds release build
813801echo vcbuild.bat debug : builds debug build
0 commit comments