Skip to content

Commit c739c3a

Browse files
committed
Merge pull request #87 from exceptionless/benchmark
Benchmark Deduplication plugin
2 parents 9640249 + 6324226 commit c739c3a

File tree

10 files changed

+2479
-3
lines changed

10 files changed

+2479
-3
lines changed

Libraries/Build.ps1

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Push-Location $PSScriptRoot
22
. .\Settings.ps1
33

4+
$anyError = $False
5+
46
ForEach ($p in $client_projects) {
57
ForEach ($b in $client_build_configurations) {
68
$isPclClient = ($($p.Name) -eq "Exceptionless.Portable") -or ($($p.Name) -eq "Exceptionless.Portable.Signed")
@@ -49,15 +51,33 @@ ForEach ($p in $client_projects) {
4951
/p:TargetFrameworkVersionProperty="$($b.TargetFrameworkVersionProperty)" `
5052
/t:"Rebuild"
5153
}
54+
If (-not $?) {
55+
$anyError = $True
56+
}
5257

5358
Write-Host "Finished building $($p.Name) ($($b.TargetFrameworkVersionProperty))" -ForegroundColor Yellow
5459
}
5560
}
5661

5762
Write-Host "Building Client Tests" -ForegroundColor Yellow
5863

59-
msbuild "$source_dir\Tests\Exceptionless.Tests.csproj" /p:Configuration="$configuration" /t:Rebuild /p:NoWarn="1591 1711 1712 1572 1573 1574" /verbosity:minimal
60-
64+
msbuild "$source_dir\Tests\Exceptionless.Tests.csproj" `
65+
/p:Configuration="$configuration" `
66+
/p:Platform="AnyCPU" `
67+
/t:Rebuild `
68+
/p:NoWarn="1591 1711 1712 1572 1573 1574" `
69+
/verbosity:minimal `
70+
/p:DefineConstants="`"TRACE;NET40`"" `
71+
/p:TargetFrameworkVersionProperty="NET40" `
72+
/p:TargetFrameworkProfile="" `
73+
/p:TargetPortable="false"
74+
If (-not $?) {
75+
$anyError = $True
76+
}
6177
Write-Host "Finished building Client Tests" -ForegroundColor Yellow
6278

63-
Pop-Location
79+
Pop-Location
80+
81+
If ($anyError) {
82+
exit 1
83+
}

0 commit comments

Comments
 (0)