File tree 9 files changed +4601
-3812
lines changed
src/Serilog.Settings.Configuration
test/Serilog.Settings.Configuration.Tests
9 files changed +4601
-3812
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,28 @@ Push-Location $PSScriptRoot
2
2
3
3
if (Test-Path .\artifacts) { Remove-Item .\artifacts - Force - Recurse }
4
4
5
- & dotnet restore
5
+ & dotnet restore -- no - cache
6
6
7
- $revision = @ { $true = $env: APPVEYOR_BUILD_NUMBER ; $false = 1 }[$env: APPVEYOR_BUILD_NUMBER -ne $NULL ];
7
+ $branch = @ { $true = $env: APPVEYOR_REPO_BRANCH ; $false = $ (git symbolic- ref -- short - q HEAD) }[$env: APPVEYOR_REPO_BRANCH -ne $NULL ];
8
+ $revision = @ { $true = " {0:00000}" -f [convert ]::ToInt32(" 0" + $env: APPVEYOR_BUILD_NUMBER , 10 ); $false = " local" }[$env: APPVEYOR_BUILD_NUMBER -ne $NULL ];
9
+ $suffix = @ { $true = " " ; $false = " $branch -$revision " }[$branch -eq " master" -and $revision -ne " local" ]
8
10
9
- Push-Location src/ Serilog.Settings.Configuration
11
+ foreach ($src in ls src/ Serilog.* ) {
12
+ Push-Location $src
10
13
11
- & dotnet pack - c Release - o ..\..\.\artifacts -- version- suffix= $revision
12
- if ($LASTEXITCODE -ne 0 ) { exit 1 }
14
+ & dotnet pack - c Release - o ..\..\.\artifacts -- version- suffix= $suffix
15
+ if ($LASTEXITCODE -ne 0 ) { exit 1 }
13
16
14
- Pop-Location
15
- Push-Location test / Serilog.Settings.Configuration.Tests
17
+ Pop-Location
18
+ }
16
19
17
- & dotnet test - c Release
18
- if ($LASTEXITCODE -ne 0 ) { exit 2 }
20
+ foreach ($test in ls test/ Serilog.* .Tests) {
21
+ Push-Location $test
22
+
23
+ & dotnet test - c Release
24
+ if ($LASTEXITCODE -ne 0 ) { exit 2 }
25
+
26
+ Pop-Location
27
+ }
19
28
20
- Pop-Location
21
29
Pop-Location
Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
+ skip_tags : true
2
3
image : Visual Studio 2015
3
4
configuration : Release
4
5
install :
5
6
- ps : mkdir -Force ".\build\" | Out-Null
6
- - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
+ - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2 /scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
8
- ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
8
- - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-002823 '
9
+ - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121 '
9
10
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
10
11
build_script :
11
12
- ps : ./Build.ps1
@@ -18,5 +19,11 @@ deploy:
18
19
secure : nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x
19
20
skip_symbols : true
20
21
on :
21
- branch : /^(dev|master)$/
22
-
22
+ branch : /^(master|dev)$/
23
+ - provider : GitHub
24
+ auth_token :
25
+ secure : p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
26
+ artifact : /Serilog.*\.nupkg/
27
+ tag : v$(appveyor_build_version)
28
+ on :
29
+ branch : master
Original file line number Diff line number Diff line change 1
1
{
2
2
"projects" : [ " src" , " test" ],
3
3
"sdk" : {
4
- "version" : " 1.0.0-preview1-002702 "
4
+ "version" : " 1.0.0-preview2-003121 "
5
5
}
6
6
}
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 1.0.0-*" ,
3
- "description" : " Sample Console Application" ,
4
- "authors" : [ " nblumhardt" ],
5
2
"buildOptions" : {
6
3
"emitEntryPoint" : true
7
4
},
8
5
9
6
"dependencies" : {
10
- "Microsoft.Extensions.Configuration.Json" : " 1.0.0-rc2-final " ,
7
+ "Microsoft.Extensions.Configuration.Json" : " 1.0.0" ,
11
8
"Serilog.Settings.Configuration" : {"target" : " project" },
12
- "Serilog.Sinks.Literate" : " 2.0.0-rc-25 " ,
13
- "Serilog.Sinks.File" : " 2.0.0-rc-706 " ,
14
- "Serilog.Enrichers.Environment" : " 2.0.0-rc-708 " ,
15
- "Serilog.Enrichers.Thread" : " 2.0.0-rc-712 "
9
+ "Serilog.Sinks.Literate" : " 2.0.0" ,
10
+ "Serilog.Sinks.File" : " 2.1.0 " ,
11
+ "Serilog.Enrichers.Environment" : " 2.0.0" ,
12
+ "Serilog.Enrichers.Thread" : " 2.0.0"
16
13
},
17
14
"frameworks" : {
18
15
"net4.6" : {
24
21
"dependencies" : {
25
22
"Microsoft.NETCore.App" : {
26
23
"type" : " platform" ,
27
- "version" : " 1.0.0-rc2-3002702 "
24
+ "version" : " 1.0.0"
28
25
}
29
26
},
30
27
"imports" : [
You can’t perform that action at this time.
0 commit comments