@@ -33,7 +33,6 @@ set nobuild=
33
33
set sign =
34
34
set nosnapshot =
35
35
set nonpm =
36
- set nocorepack =
37
36
set cctest_args =
38
37
set test_args =
39
38
set stage_package =
@@ -95,7 +94,6 @@ if /i "%1"=="nosign" set "sign="&echo Note: vcbuild no longer signs by de
95
94
if /i " %1 " == " sign" set sign = 1& goto arg-ok
96
95
if /i " %1 " == " nosnapshot" set nosnapshot = 1& goto arg-ok
97
96
if /i " %1 " == " nonpm" set nonpm = 1& goto arg-ok
98
- if /i " %1 " == " nocorepack" set nocorepack = 1& goto arg-ok
99
97
if /i " %1 " == " ltcg" set ltcg = 1& goto arg-ok
100
98
if /i " %1 " == " licensertf" set licensertf = 1& goto arg-ok
101
99
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
@@ -194,7 +192,6 @@ if "%*"=="format-md" if exist "%node_exe%" goto format-md
194
192
if " %config% " == " Debug" set configure_flags = %configure_flags% --debug
195
193
if defined nosnapshot set configure_flags = %configure_flags% --without-snapshot
196
194
if defined nonpm set configure_flags = %configure_flags% --without-npm
197
- if defined nocorepack set configure_flags = %configure_flags% --without-corepack
198
195
if defined ltcg set configure_flags = %configure_flags% --with-ltcg
199
196
if defined release_urlbase set configure_flags = %configure_flags% --release-urlbase=%release_urlbase%
200
197
if defined download_arg set configure_flags = %configure_flags% %download_arg%
@@ -458,15 +455,6 @@ if not defined nonpm (
458
455
if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error
459
456
)
460
457
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
-
470
458
copy /Y ..\tools\msvs\nodevars.bat %TARGET_NAME% \ > nul
471
459
if errorlevel 1 echo Cannot copy nodevars.bat && goto package_error
472
460
copy /Y ..\tools\msvs\install_tools\*.* %TARGET_NAME% \ > nul
@@ -807,7 +795,7 @@ set exit_code=1
807
795
goto exit
808
796
809
797
: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]
811
799
echo Examples:
812
800
echo vcbuild.bat : builds release build
813
801
echo vcbuild.bat debug : builds debug build
0 commit comments