Browse Source

build: bail early if clean is invoked

On windows, there's no need to continue with the msbuild process
(signing, whatnot) when we only want to clean the project.

PR-URL: https://github.com/nodejs/io.js/pull/2127
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
v4.0.0-rc
Johan Bergström 10 years ago
parent
commit
47e2c5c828
  1. 1
      vcbuild.bat

1
vcbuild.bat

@ -146,6 +146,7 @@ if defined nobuild goto sign
@rem Build the sln with msbuild. @rem Build the sln with msbuild.
msbuild node.sln /m /t:%target% /p:Configuration=%config% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo msbuild node.sln /m /t:%target% /p:Configuration=%config% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
if errorlevel 1 goto exit if errorlevel 1 goto exit
if "%target%" == "Clean" goto exit
:sign :sign
@rem Skip signing if the `nosign` option was specified. @rem Skip signing if the `nosign` option was specified.

Loading…
Cancel
Save