Skip to content

Commit efa36ea

Browse files
authored
First commit (#1)
Added basic implementation, tests, support for CI
1 parent 5330927 commit efa36ea

19 files changed

+1039
-2
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,9 @@ __pycache__/
299299
*.pyc
300300

301301
# Cake - Uncomment if you are using it
302-
# tools/**
303-
# !tools/packages.config
302+
tools/**
303+
!tools/packages.config
304+
outputs/**
304305

305306
# Tabs Studio
306307
*.tss

GitVersion.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
next-version: 1.0.0
2+
mode: ContinuousDeployment
3+
continuous-delivery-fallback-tag: preview
4+
5+
branches:
6+
develop:
7+
tag: vnext

ObjectConfigurationExtensions.sln

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26124.0
5+
MinimumVisualStudioVersion = 15.0.26124.0
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EA1F1988-0986-46FC-86AD-C247411FD261}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kralizek.Extensions.Configuration.Objects", "src\Kralizek.Extensions.Configuration.Objects\Kralizek.Extensions.Configuration.Objects.csproj", "{EB691E28-C867-4150-9231-A73B900E363E}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{156B8D40-B745-43A2-BA17-8BF5798384D8}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Extensions.Configuration.Objects", "tests\Tests.Extensions.Configuration.Objects\Tests.Extensions.Configuration.Objects.csproj", "{8120109C-95BC-423F-BBB2-91037E00F986}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|Any CPU = Debug|Any CPU
17+
Debug|x64 = Debug|x64
18+
Debug|x86 = Debug|x86
19+
Release|Any CPU = Release|Any CPU
20+
Release|x64 = Release|x64
21+
Release|x86 = Release|x86
22+
EndGlobalSection
23+
GlobalSection(SolutionProperties) = preSolution
24+
HideSolutionNode = FALSE
25+
EndGlobalSection
26+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
27+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|Any CPU.Build.0 = Debug|Any CPU
29+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|x64.ActiveCfg = Debug|Any CPU
30+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|x64.Build.0 = Debug|Any CPU
31+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|x86.ActiveCfg = Debug|Any CPU
32+
{EB691E28-C867-4150-9231-A73B900E363E}.Debug|x86.Build.0 = Debug|Any CPU
33+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|Any CPU.Build.0 = Release|Any CPU
35+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|x64.ActiveCfg = Release|Any CPU
36+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|x64.Build.0 = Release|Any CPU
37+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|x86.ActiveCfg = Release|Any CPU
38+
{EB691E28-C867-4150-9231-A73B900E363E}.Release|x86.Build.0 = Release|Any CPU
39+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|x64.ActiveCfg = Debug|Any CPU
42+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|x64.Build.0 = Debug|Any CPU
43+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|x86.ActiveCfg = Debug|Any CPU
44+
{8120109C-95BC-423F-BBB2-91037E00F986}.Debug|x86.Build.0 = Debug|Any CPU
45+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|Any CPU.ActiveCfg = Release|Any CPU
46+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|Any CPU.Build.0 = Release|Any CPU
47+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|x64.ActiveCfg = Release|Any CPU
48+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|x64.Build.0 = Release|Any CPU
49+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|x86.ActiveCfg = Release|Any CPU
50+
{8120109C-95BC-423F-BBB2-91037E00F986}.Release|x86.Build.0 = Release|Any CPU
51+
EndGlobalSection
52+
GlobalSection(NestedProjects) = preSolution
53+
{EB691E28-C867-4150-9231-A73B900E363E} = {EA1F1988-0986-46FC-86AD-C247411FD261}
54+
{8120109C-95BC-423F-BBB2-91037E00F986} = {156B8D40-B745-43A2-BA17-8BF5798384D8}
55+
EndGlobalSection
56+
EndGlobal

appveyor.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
max_jobs: 1
2+
3+
image: Visual Studio 2017
4+
5+
environment:
6+
COVERALLS_REPO_TOKEN:
7+
secure: o5ARhGzXpj1Qn67pLSTMFuRLrJD7s/xGWF9VLaQNKgJmuwXwAQJnGh+QpSNfY1nd
8+
MYGET_TOKEN:
9+
secure: yP12k1vrHJyValU1UWnW3NySjKfXlRomR8p4qqmYs26FDztsGMlCQeT5jdCVHlz6
10+
11+
cache:
12+
- '%LocalAppData%\NuGet\v3-cache'
13+
14+
nuget:
15+
account_feed: false
16+
project_feed: false
17+
disable_publish_on_pr: true
18+
19+
install:
20+
- cmd: dotnet tool install -g Cake.Tool --version 0.33.0
21+
- cmd: dotnet tool install coveralls.net --tool-path tools
22+
23+
build_script:
24+
- cmd: dotnet cake --target=Full
25+
26+
after_build:
27+
- ps: if ($env:COVERALLS_REPO_TOKEN -ne $null) { .\tools\csmacnz.coveralls.exe --reportgenerator -i .\outputs\tests\report --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID }
28+
29+
test: off
30+
31+
artifacts:
32+
- path: outputs\*.nupkg
33+
name: packages
34+
- path: outputs\*.snupkg
35+
name: symbols
36+
- path: outputs\tests\report
37+
name: report
38+
type: zip
39+
40+
deploy:
41+
- provider: NuGet
42+
server: https://www.myget.org/F/kralizek/api/v2/package
43+
api_key:
44+
secure: SxuPZ1GdSw4IgdN1KHN9Ky36oUY5ZRT0ZZXd1BdDr+GgktRazqBz6dLcjA56++X/
45+
artifact: packages
46+
- provider: Environment
47+
name: NuGet
48+
on:
49+
branch: master
50+
appveyor_repo_tag: true

azure-pipelines.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
trigger:
2+
- master
3+
4+
pool:
5+
vmImage: 'windows-latest'
6+
7+
steps:
8+
- task: Cake@0
9+
inputs:
10+
script: 'build.cake'
11+
target: 'Full'
12+
verbosity: 'Normal'
13+
displayName: 'Execute Build script'
14+
15+
- task: PublishTestResults@2
16+
inputs:
17+
testResultsFormat: 'VSTest'
18+
testResultsFiles: 'outputs/tests/*.trx'
19+
mergeTestResults: true
20+
failTaskOnFailedTests: true
21+
displayName: 'Publish Test Results'
22+
23+
- task: CopyFiles@2
24+
inputs:
25+
SourceFolder: 'outputs/'
26+
Contents: |
27+
*.nupkg
28+
*.snupkg
29+
TargetFolder: 'artifacts'
30+
31+
- task: PublishPipelineArtifact@1
32+
inputs:
33+
targetPath: 'artifacts'
34+
artifact: 'Packages'

0 commit comments

Comments
 (0)