diff options
author | Johan Bergström <bugs@bergstroem.nu> | 2015-07-08 08:06:13 +1000 |
---|---|---|
committer | Johan Bergström <bugs@bergstroem.nu> | 2015-07-10 14:32:45 +1000 |
commit | 47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6 (patch) | |
tree | 8e49ada49bc30a1e36de88a297d7f3806f1b69d1 /vcbuild.bat | |
parent | 842eb5b853e00a1f48ff11600a6f2165435c570e (diff) | |
download | android-node-v8-47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6.tar.gz android-node-v8-47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6.tar.bz2 android-node-v8-47e2c5c8280e9a66f14a84a593b6c44ce7c5f5b6.zip |
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>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index 7fab85c85a..077fb21c5e 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. |