forked from TerenceLewis/Thinktecture.IdentityServer.45
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.cmd
30 lines (23 loc) · 712 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
pushd %~dp0
if exist bin goto build
mkdir bin
:Build
if "%1" == "" goto BuildDefaults
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild Thinktecture.IdentityServer.sln /m /nr:false /t:%* /p:Platform="Any CPU" /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal
if %ERRORLEVEL% neq 0 goto BuildFail
goto BuildSuccess
:BuildDefaults
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild Thinktecture.IdentityServer.sln /m /nr:false /p:Platform="Any CPU" /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal
if %ERRORLEVEL% neq 0 goto BuildFail
goto BuildSuccess
:BuildFail
echo.
echo *** BUILD FAILED ***
goto End
:BuildSuccess
echo.
echo **** BUILD SUCCESSFUL ***
goto end
:End
popd