mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
build,win: bail vcbuild if mklink fails
PR-URL: https://github.com/nodejs/node/pull/27216 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
1 parent
290faec0e7
commit
0fc27f6bc0
1 file changed
+3
@@ -325,7 +325,10 @@ if errorlevel 1 (
|
||||
if "%target%" == "Clean" goto exit
|
||||
|
||||
:after-build
|
||||
rd %config%
|
||||
if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B
|
||||
if EXIST out\%config% mklink /D %config% out\%config%
|
||||
if errorlevel 1 exit /B
|
||||
|
||||
:sign
|
||||
@rem Skip signing unless the `sign` option was specified.
|
||||
|
||||
Reference in new issue
Block a user