Skip to content

Commit c10cd98

Browse files
committed
Refresh build script
1 parent 7176bbc commit c10cd98

4 files changed

Lines changed: 19 additions & 13 deletions

File tree

CodeCoverage.runsettings

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
<!-- Match fully qualified names of functions: -->
1111
<Functions>
1212
<Exclude>
13-
<Function>HttpMultipartParser\.Properties\..*</Function>
14-
<Function>HttpMultipartParser\.Models\..*</Function>
15-
<Function>HttpMultipartParser\.Utilities\.Log\..*</Function>
16-
<Function>System\.Text\.Json\.SourceGeneration\..*</Function>
17-
<Function>System\.Runtime\.CompilerServices\..*</Function>
13+
<Function>^HttpMultipartParser\.Properties\..*</Function>
14+
<Function>^HttpMultipartParser\.Models\..*</Function>
15+
<Function>^HttpMultipartParser\.Utilities\.Log\..*</Function>
16+
<Function>^System\.Text\.Json\.SourceGeneration\..*</Function>
17+
<Function>^System\.Runtime\.CompilerServices\..*</Function>
1818
</Exclude>
1919
</Functions>
2020

2121
<!-- Match attributes on any code element: -->
2222
<Attributes>
2323
<Exclude>
24-
<Attribute>HttpMultipartParser\.Utilities\.ExcludeFromCodeCoverageAttribute</Attribute>
25-
<Attribute>System\.Obsolete</Attribute>
26-
<Attribute>System\.CodeDom\.Compiler\.GeneratedCodeAttribute</Attribute>
27-
<Attribute>System\.Runtime\.CompilerServices\.CompilerGeneratedAttribute</Attribute>
24+
<Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute>
25+
<Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute>
26+
<Attribute>^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$</Attribute>
27+
<Attribute>^System\.Diagnostics\.CodeAnalysis\.ExcludeFromCodeCoverageAttribute$</Attribute>
2828
</Exclude>
2929
</Attributes>
3030

appveyor.psm1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ $ErrorActionPreference = 'Stop'
55
# Implements the AppVeyor 'install' step and installs the desired .NET SDK if not already installed.
66
function Invoke-AppVeyorInstall {
77

8+
$StartTime = Get-Date
9+
810
Write-Verbose -Verbose "Determining the desired version of .NET SDK"
911
$globalDotJson = Get-Content (Join-Path $PSScriptRoot 'global.json') -Raw | ConvertFrom-Json
1012
$desiredDotNetCoreSDKVersion = $globalDotJson.sdk.version
@@ -73,4 +75,8 @@ function Invoke-AppVeyorInstall {
7375
else {
7476
Write-Verbose -Verbose "We have determined that the desired version of the .NET SDK is already installed on this machine"
7577
}
78+
79+
# Display elapsed time in a readable format
80+
$Elapsed = (Get-Date) - $StartTime
81+
Write-Verbose -Verbose "Checking/installing the desired .NET SDK took: $Elapsed"
7682
}

build.cake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Install tools.
2-
#tool dotnet:?package=GitVersion.Tool&version=6.5.1
2+
#tool dotnet:?package=GitVersion.Tool&version=6.6.0
33
#tool nuget:?package=GitReleaseManager&version=0.20.0
4-
#tool nuget:?package=ReportGenerator&version=5.5.1
4+
#tool nuget:?package=ReportGenerator&version=5.5.2
55
#tool nuget:?package=xunit.runner.console&version=2.9.3
66
#tool nuget:?package=CodecovUploader&version=0.8.0
77

88
// Install addins.
99
#addin nuget:?package=Cake.Git&version=5.0.1
10-
#addin nuget:?package=Cake.Codecov&version=3.0.0
10+
#addin nuget:?package=Cake.Codecov&version=6.0.0
1111

1212

1313
///////////////////////////////////////////////////////////////////////////////

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "10.0.100",
3+
"version": "10.0.103",
44
"rollForward": "patch",
55
"allowPrerelease": false
66
},

0 commit comments

Comments
 (0)