mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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>
This commit is contained in:
1 parent
842eb5b853
commit
47e2c5c828
1 file changed
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user