forked from SignalR/SignalR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.cmd
18 lines (15 loc) · 691 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo Off
rem Enforce package restore to avoid build issues. See https://go.microsoft.com/fwlink/?LinkID=317568 for more details
msbuild .nuget\NuGet.targets /t:RestorePackages
.nuget\nuget.exe restore %~dp0\src\Microsoft.AspNet.SignalR.Client.UWP\project.json
.nuget\nuget.exe restore %~dp0\tests\Microsoft.AspNet.SignalR.Client.UWP.Tests\project.json
.nuget\nuget.exe restore %~dp0\src\Microsoft.AspNet.SignalR.Client.NetStandard\project.json
set target=%1
if "%target%" == "" (
set target=BuildCmd
)
set config=%2
if "%config%" == "" (
set config=Debug
)
msbuild Build\Build.proj /t:"%target%" /p:Configuration="%config%" /m /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false