Skip to content

Commit

Permalink
build,win: bail vcbuild if mklink fails
Browse files Browse the repository at this point in the history
PR-URL: #27216
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
refack committed Apr 20, 2019
1 parent 290faec commit 0fc27f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0fc27f6

Please sign in to comment.