Skip to content

Commit b46d596

Browse files
richardlauBridgeAR
authored andcommitted
build: add npx to zip and 7z packages
Copy npx and npx.cmd from `deps\npm\bin` for consistency with .msi package. PR-URL: #15033 Refs: #14235 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 13927fd commit b46d596

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vcbuild.bat

+4
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ copy /Y ..\deps\npm\bin\npm node-v%FULLVERSION%-win-%target_arch%\ > nul
298298
if errorlevel 1 echo Cannot copy npm && goto package_error
299299
copy /Y ..\deps\npm\bin\npm.cmd node-v%FULLVERSION%-win-%target_arch%\ > nul
300300
if errorlevel 1 echo Cannot copy npm.cmd && goto package_error
301+
copy /Y ..\deps\npm\bin\npx node-v%FULLVERSION%-win-%target_arch%\ > nul
302+
if errorlevel 1 echo Cannot copy npx && goto package_error
303+
copy /Y ..\deps\npm\bin\npx.cmd node-v%FULLVERSION%-win-%target_arch%\ > nul
304+
if errorlevel 1 echo Cannot copy npx.cmd && goto package_error
301305
copy /Y ..\tools\msvs\nodevars.bat node-v%FULLVERSION%-win-%target_arch%\ > nul
302306
if errorlevel 1 echo Cannot copy nodevars.bat && goto package_error
303307
if not defined noetw (

0 commit comments

Comments
 (0)