Skip to content

Commit 407878a

Browse files
author
Urs Muntwyler
committed
Merge branch 'release/2.1.1'
2 parents 0ebeeef + ccaaf99 commit 407878a

File tree

39 files changed

+333
-854
lines changed

39 files changed

+333
-854
lines changed

.appveyor.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
informational: true
6+
patch:
7+
default:
8+
informational: true

.github/workflows/dotnet.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
2+
# This workflow will build BBT.StructureTools project
3+
4+
name: CI
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
- develop
11+
pull_request:
12+
branches:
13+
- master
14+
- develop
15+
16+
defaults:
17+
run:
18+
working-directory: src
19+
20+
jobs:
21+
build:
22+
env:
23+
BUILD_CONFIG: "Debug"
24+
25+
runs-on: ${{ matrix.os }}
26+
strategy:
27+
matrix:
28+
os: [ubuntu-latest]
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- name: Get Build Version
34+
run: |
35+
Import-Module ..\build\GetBuildVersion.psm1
36+
Write-Host $Env:GITHUB_REF
37+
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
38+
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
39+
shell: pwsh
40+
41+
- name: Setup .NET
42+
uses: actions/setup-dotnet@v3
43+
with:
44+
dotnet-version: 6.0.x
45+
46+
- name: Restore dependencies
47+
run: dotnet restore
48+
49+
- name: Build
50+
run: dotnet build --configuration $BUILD_CONFIG -p:Version=$BUILD_VERSION --no-restore
51+
52+
- name: Test
53+
run: dotnet test -p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
54+
55+
- name: Codecov
56+
uses: codecov/codecov-action@v3

.github/workflows/release.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This workflow will release BBT.StructureTools
2+
3+
name: Release
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
defaults:
10+
run:
11+
working-directory: src
12+
13+
jobs:
14+
build:
15+
env:
16+
BUILD_CONFIG: "Release"
17+
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest]
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
26+
- name: Get Build Version
27+
run: |
28+
Import-Module ..\build\GetBuildVersion.psm1
29+
Write-Host $Env:GITHUB_REF
30+
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
31+
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
32+
shell: pwsh
33+
34+
- name: Setup .NET
35+
uses: actions/setup-dotnet@v3
36+
with:
37+
dotnet-version: 6.0.x
38+
39+
- name: Restore dependencies
40+
run: dotnet restore
41+
42+
- name: Build
43+
run: dotnet build --configuration $BUILD_CONFIG -p:Version=$BUILD_VERSION --no-restore
44+
45+
- name: Test
46+
run: dotnet test -p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage"
47+
48+
- name: Codecov
49+
uses: codecov/codecov-action@v1.5.2
50+
51+
- name: Setup NuGet
52+
uses: NuGet/setup-nuget@v1
53+
54+
- name: Package NuGet
55+
run: |
56+
nuget pack ../nuspec/nuget/BBT.StructureTools.nuspec
57+
nuget pack ../nuspec/nuget/BBT.StructureTools.Extensions.nuspec
58+
59+
- name: Publish NuGet
60+
run: |
61+
nuget push ./BBT.StructureTools.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
62+
nuget push ./BBT.StructureTools.Extensions.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,6 @@ paket-files/
298298
__pycache__/
299299
*.pyc
300300

301-
# Cake - Uncomment if you are using it
302-
tools/**
303-
!tools/packages.config
304-
305301
# Tabs Studio
306302
*.tss
307303

@@ -330,6 +326,3 @@ ASALocalRun/
330326
.mfractor/
331327

332328
# Project specific
333-
334-
config.wyam.*
335-
BuildArtifacts/

.vscode/tasks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/src/BBT.StructureTools.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/src/BBT.StructureTools.sln",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"--project",
36+
"${workspaceFolder}/src/BBT.StructureTools.sln"
37+
],
38+
"problemMatcher": "$msCompile"
39+
}
40+
]
41+
}

GitReleaseManager.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
# BBT.StructureTools
22

3+
[![NuGet](https://img.shields.io/nuget/v/BBT.StructureTools.svg)](https://www.nuget.org/packages/BBT.StructureTools)
4+
[![Build status](https://github.com/bbtsoftware/BBT.StructureTools/actions/workflows/dotnet.yml/badge.svg?branch=develop)](https://github.com/bbtsoftware/BBT.StructureTools/actions/workflows/dotnet.yml)
5+
[![Build status](https://github.com/bbtsoftware/BBT.StructureTools/actions/workflows/release.yml/badge.svg)](https://github.com/bbtsoftware/BBT.StructureTools/actions/workflows/release.yml)
6+
[![Coverage Status](https://codecov.io/gh/bbtsoftware/BBT.StructureTools/branch/develop/graph/badge.svg?token=0VLbB8a8EF)](https://codecov.io/gh/bbtsoftware/BBT.StructureTools)
7+
38
.NET. classes for copying, comparing and converting object structures.
49

510
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/bbtsoftware/BBT.StructureTools/blob/master/LICENSE)
611

7-
## Information
8-
9-
| | Stable | Pre-release |
10-
|:--:|:--:|:--:|
11-
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/bbtsoftware/BBT.StructureTools.svg)](https://github.com/bbtsoftware/BBT.StructureTools/releases/latest)|
12-
|NuGet|[![NuGet](https://img.shields.io/nuget/v/BBT.StructureTools.svg)](https://www.nuget.org/packages/BBT.StructureTools)|[![NuGet](https://img.shields.io/nuget/vpre/BBT.StructureTools.svg)](https://www.nuget.org/packages/BBT.StructureTools)|
12+
## Documentation
1313

14-
## Build Status
14+
### Getting started
1515

16-
|Develop|Master|
17-
|:--:|:--:|
18-
|[![Build status](https://ci.appveyor.com/api/projects/status/bncb5oc7ah2ti95y/branch/develop?svg=true)](https://ci.appveyor.com/project/BBTSoftwareAG/bbt-structuretools/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/bncb5oc7ah2ti95y/branch/master?svg=true)](https://ci.appveyor.com/project/BBTSoftwareAG/bbt-structuretools/branch/master)|
16+
Overview about the features of BBT.StructureTools.
1917

20-
## Code Coverage
18+
* [Why does BBT.StructureTools exist?](./docs/getting-started/whystructuretools.md)
19+
* [Core principles](./docs/getting-started/principles.md)
20+
* [Configure](./docs/getting-started/configure.md)
21+
* [Obtain](./docs/getting-started/obtain.md)
2122

22-
[![Coverage Status](https://coveralls.io/repos/github/bbtsoftware/BBT.StructureTools/badge.svg?branch=develop)](https://coveralls.io/github/bbtsoftware/BBT.StructureTools?branch=develop)
23+
### Fundamentals
2324

24-
## Quick Links
25-
26-
* [Documentation](https://bbtsoftware.github.io/BBT.StructureTools/)
25+
* [Comparing objects](./docs/comparing-objects/fundamentals.md)
26+
* [Converting objects](/docs/converting-objects/fundamentals.md)
27+
* [copying objects](/docs/copying-objects/fundamentals.md)
2728

2829
## Build
2930

30-
To build this package we are using [Cake](https://cakebuild.net).
31-
3231
On Windows PowerShell run:
3332

3433
```powershell
35-
./build
34+
dotnet build .\BBT.StructureTools.sln
3635
```

0 commit comments

Comments
 (0)