Skip to content

Commit

Permalink
Merge branch 'core31'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianspecht committed Jan 20, 2020
2 parents 8faa958 + 2fd78f9 commit 77925e4
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 26 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: "{build}"
image: Visual Studio 2017
image: Visual Studio 2019
branches:
only:
- master
Expand All @@ -11,7 +11,7 @@ test: off
artifacts:
- path: release\scm-backup-*.zip
name: Application
- path: src\ScmBackup.Tests.Integration\bin\Release\netcoreapp2.1\*.log
- path: src\ScmBackup.Tests.Integration\bin\Release\netcoreapp3.1\*.log
name: Integration Test Logfile
assembly_info:
patch: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>ScmBackup.Tests.Integration</AssemblyName>
<PackageId>ScmBackup.Tests.Integration</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand Down Expand Up @@ -40,10 +40,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="Xunit.SkippableFact" Version="1.3.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="Xunit.SkippableFact" Version="1.3.12" />
</ItemGroup>

</Project>
15 changes: 9 additions & 6 deletions src/ScmBackup.Tests/ScmBackup.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>ScmBackup.Tests</AssemblyName>
<PackageId>ScmBackup.Tests</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand All @@ -21,11 +21,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="RichardSzalay.MockHttp" Version="5.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="Xunit.SkippableFact" Version="1.3.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="Xunit.SkippableFact" Version="1.3.12" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/ScmBackup/ConfigReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public Config ReadConfig()
this.config = new Config();

var input = File.ReadAllText(this.ConfigFileName);
var deserializer = new DeserializerBuilder().WithNamingConvention(new CamelCaseNamingConvention()).Build();
var deserializer = new DeserializerBuilder().WithNamingConvention(CamelCaseNamingConvention.Instance).Build();
this.config = deserializer.Deserialize<Config>(input);
}

Expand Down
2 changes: 0 additions & 2 deletions src/ScmBackup/ScmBackup.bat

This file was deleted.

17 changes: 7 additions & 10 deletions src/ScmBackup/ScmBackup.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>ScmBackup</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>ScmBackup</PackageId>
Expand All @@ -20,21 +20,18 @@
<None Update="NLog.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ScmBackup.bat">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
<None Update="settings.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="MailKit" Version="2.0.6" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="NLog" Version="4.5.8" />
<PackageReference Include="Octokit" Version="0.31.0" />
<PackageReference Include="SimpleInjector" Version="4.3.0" />
<PackageReference Include="YamlDotNet" Version="5.0.1" />
<PackageReference Include="MailKit" Version="2.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NLog" Version="4.6.8" />
<PackageReference Include="Octokit" Version="0.36.0" />
<PackageReference Include="SimpleInjector" Version="4.9.0" />
<PackageReference Include="YamlDotNet" Version="8.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 77925e4

Please sign in to comment.