From 47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Wed, 8 Jul 2015 08:06:13 +1000 Subject: [PATCH] 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 --- vcbuild.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/vcbuild.bat b/vcbuild.bat index 7fab85c85a583f..077fb21c5e18d9 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -146,6 +146,7 @@ if defined nobuild goto sign @rem Build the sln with msbuild. msbuild node.sln /m /t:%target% /p:Configuration=%config% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo if errorlevel 1 goto exit +if "%target%" == "Clean" goto exit :sign @rem Skip signing if the `nosign` option was specified.