Skip to content

Commit

Permalink
contrib setup:
Browse files Browse the repository at this point in the history
- setup code qualityy tools
- added to EntityFramework
- implement Npgsql with entityFramework
  • Loading branch information
drr00t committed Feb 21, 2023
1 parent 16e2abc commit aea989d
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
8 changes: 8 additions & 0 deletions DFlow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFlow.Persistence.EntityFra
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFlow.Persistence.EntityFrameworkCore.Npgsql", "src\contrib\DFlow.Persistence.EntityFrameworkCore.Npgsql\DFlow.Persistence.EntityFrameworkCore.Npgsql.csproj", "{50C047E2-DBFC-4652-9C8F-B3B3F3CD5B98}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_containers", "_containers", "{5FD6DE92-1A55-4261-A0AC-4FF2166134E5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "postgres", "postgres", "{7D569F94-FDE6-4B68-9399-FC1DCF9090B7}"
ProjectSection(SolutionItems) = preProject
_local_testing\postgresql\docker-compose.postgres.yml = _local_testing\postgresql\docker-compose.postgres.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -83,6 +90,7 @@ Global
{8AA5683F-E4E6-4D43-95C1-30F7F5C1C301} = {1D9940E4-09D4-42B9-B72D-2DA4D1AA00EB}
{716765C5-EF6D-44B3-9FEB-2F25E617C70A} = {20A4CE3F-D6FD-4FA2-91EB-1AC62221A4FE}
{50C047E2-DBFC-4652-9C8F-B3B3F3CD5B98} = {20A4CE3F-D6FD-4FA2-91EB-1AC62221A4FE}
{7D569F94-FDE6-4B68-9399-FC1DCF9090B7} = {5FD6DE92-1A55-4261-A0AC-4FF2166134E5}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {95BFE15C-2D7D-47F7-8108-AAD1B212E52D}
Expand Down
1 change: 0 additions & 1 deletion src/DFlow.Persistence/DFlow.Persistence.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\DFlow\DFlow.csproj" />
Expand Down
2 changes: 0 additions & 2 deletions src/DFlow.Specifications/DFlow.Specifications.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
Expand Down
5 changes: 4 additions & 1 deletion src/DFlow/DFlow.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
<PackageReference Include="ValueOf" Version="2.0.31" />
</ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<Project>
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ReportAnalyzer>true</ReportAnalyzer>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<icon>https://github.com/roadtoagility/dflow/raw/master/docs/img/logodflow_200x200.png</icon>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<Configurations>Debug;Release;Release Profilling</Configurations>
<Platforms>AnyCPU</Platforms>
<LangVersion>10</LangVersion>
Expand Down
4 changes: 4 additions & 0 deletions src/contrib/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project>
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ReportAnalyzer>true</ReportAnalyzer>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<icon>https://github.com/roadtoagility/dflow/raw/master/docs/img/logodflow_200x200.png</icon>
<TargetFrameworks>net6.0</TargetFrameworks>
<Configurations>Debug;Release;</Configurations>
Expand Down
3 changes: 2 additions & 1 deletion tests/DFlow.Testing/DFlow.Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="NSubstitute" Version="4.2.2" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.analyzers" Version="0.10.0" />
<PackageReference Include="xunit.analyzers" Version="1.1.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit aea989d

Please sign in to comment.