Skip to content

Commit

Permalink
build: bail early if clean is invoked
Browse files Browse the repository at this point in the history
On windows, there's no need to continue with the msbuild process
(signing, whatnot) when we only want to clean the project.

PR-URL: #2127
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
  • Loading branch information
jbergstroem committed Jul 10, 2015
1 parent 842eb5b commit 47e2c5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vcbuild.bat
Expand Up @@ -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.
Expand Down

0 comments on commit 47e2c5c

Please sign in to comment.