-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project migration and multi-targeting: Fixes and improvements
- Now compiling for .NET Framework 4.0, 4.6.1, and 4.7.2; .NET Standard 2.0 and 2.1; .NET 5.0 - Build script: Implemented analysis of unit test coverage using `JetBrains dotCover` - Addressed compatibility issues in: - `OmnifactotumArrayExtensions` - `OmnifactotumAssemblyExtensions` - `OmnifactotumCollectionExtensions` - `OmnifactotumDictionaryExtensions` - `OmnifactotumGenericObjectExtensions` - `OmnifactotumOperationContextExtensions` - Addressed compatibility issues in: - `ColoredConsoleTraceListener` - `KeyValuePair` (static helper) - `ReadOnlyDictionary<TKey, TValue>` - `WinEventLog` - Minor fixes/improvements in: - `OmnifactotumDateTimeOffsetExtensions` - Added new classes: - `OmnifactotumKeyValuePair` - `ReadOnlyItemCollection` (read-only wrapper for ICollection<T>) - Implemented fixes and improvements in the test project and tests for proper multi-targeting - Added tests for: - `KeyValuePair` - Updated build scripts and related configuration files - Updated `README.md` - Updated Release Notes (also, converted to Markdown) - Updated JetBrains Annotations in `Omnifactotum.Annotations` - Partial support of Nullable Reference Types: - `OmnifactotumGenericObjectExtensions.EnsureNotNull` - Applied `PureAttribute`, `InstantHandleAttribute`, and `NoEnumerationAttribute` annotations in certain appropriate cases - Made the class `OmnifactotumRepresentationConstants` public (formerly `OmnifactotumConstants`)
- Loading branch information
1 parent
6f8c7ba
commit 831c082
Showing
61 changed files
with
2,458 additions
and
1,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
**/bin/* | ||
**/binTests/* | ||
**/.out/* | ||
**/.temp/* | ||
**/obj/* | ||
**/packages/* | ||
**/.vs/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,83 @@ | ||
version: 0.4.{build} | ||
version: 'Build #{build} [{branch}]' | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
- /feature\/.*/ | ||
skip_tags: true | ||
image: Visual Studio 2019 | ||
configuration: Release | ||
platform: Any CPU | ||
shallow_clone: true | ||
nuget: | ||
disable_publish_on_pr: true | ||
matrix: | ||
fast_finish: true | ||
environment: | ||
CI_ARG_PRERELEASE_SUFFIX: '-internal' | ||
CI_OUT_ARG_DEPLOYMENT_VERSION: '' | ||
for: | ||
- | ||
branches: | ||
only: | ||
- develop | ||
environment: | ||
CI_ARG_PRERELEASE_SUFFIX: '-prerelease' | ||
deploy: off | ||
- | ||
branches: | ||
only: | ||
- /^feature\/.*/ | ||
deploy: off | ||
- | ||
branches: | ||
only: | ||
- master | ||
environment: | ||
CI_ARG_PRERELEASE_SUFFIX: '' | ||
build_script: | ||
- ps: >- | ||
$Script:ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop | ||
$Script:ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop; | ||
Microsoft.PowerShell.Core\Set-StrictMode -Version 1; | ||
& .\build.ps1 -Verbose | ||
& .\build.ps1 ` | ||
-Verbose ` | ||
-BuildConfiguration $env:Configuration ` | ||
-BuildPlatform $env:Platform ` | ||
-EnableDotCover ` | ||
-AppveyorBuild ` | ||
-AppveyorSourceCodeRevisionId $env:APPVEYOR_REPO_COMMIT ` | ||
-AppveyorBuildNumber $env:APPVEYOR_BUILD_NUMBER ` | ||
-PrereleaseSuffix $env:CI_ARG_PRERELEASE_SUFFIX | ||
test: off | ||
artifacts: | ||
- path: bin\NuGet\*.nupkg | ||
name: NuGet | ||
- path: bin\AnyCPU\**\* | ||
name: bin | ||
- path: binTests\**\* | ||
name: binTests | ||
deploy: off | ||
- path: .artifacts\**\* | ||
name: Artifacts | ||
- path: src\.out\bin\AnyCPU\Release\Omnifactotum.Tests\TestResults | ||
name: TestResults | ||
- path: src\.out\binCoverage\Omnifactotum.CoverageResult | ||
name: Omnifactotum.CoverageResult | ||
deploy: | ||
- provider: GitHub | ||
on: | ||
branch: master | ||
release: '$(CI_OUT_ARG_DEPLOYMENT_VERSION)' | ||
description: '$(APPVEYOR_PROJECT_NAME) $(CI_OUT_ARG_DEPLOYMENT_VERSION)' | ||
draft: true | ||
prerelease: true | ||
auth_token: | ||
secure: IA0JpDs4+uNdYekaXOOeVdU0sOak2Tz6zwHP1QPjdiXF+JOaqLpGkYVLW928iuEX | ||
artifact: Artifacts | ||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
subject: Omnifactotum Build [AppVeyor] | ||
- '{{commitAuthorEmail}}' | ||
subject: '[AppVeyor] {{projectName}} {{buildVersion}}: Build {{status}} ({{branch}} @ {{commitId}})' | ||
on_build_success: true | ||
on_build_failure: true | ||
on_build_status_changed: false | ||
on_build_status_changed: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.