From: Johan Bergström Date: Tue, 7 Jul 2015 22:06:13 +0000 (+1000) Subject: build: bail early if clean is invoked X-Git-Tag: v2.4.0~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/vcbuild.bat b/vcbuild.bat index 7fab85c..077fb21 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.