Skip to content

Commit

Permalink
ci: build improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Nov 17, 2023
1 parent 23f028f commit 2eb62d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
<PropertyGroup>
<LangVersion>latest</LangVersion>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ContinuousIntegrationBuild Condition="'$(Configuration)'=='Release'">true</ContinuousIntegrationBuild>
<WarningsAsErrors>$(WarningsAsErrors);NU1605;NU1701</WarningsAsErrors>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
<NoWarn>$(NoWarn);IDE0079;S1135;CA1510;CA1511;CA1512;CA1513;CA1863</NoWarn>
<NoWarn Condition="'$(Configuration)'=='Release'">$(NoWarn);NETSDK1138</NoWarn>
<WarningsAsErrors>$(WarningsAsErrors);NU1601;NU1603;NU1605;NU1608;NU1701;MSB3644</WarningsAsErrors>
<ContinuousIntegrationBuild Condition="'$(CI)'!=''">true</ContinuousIntegrationBuild>

<!-- Ignoring all satelite assemblies from external dependencies to reduce build artifact size. -->
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>

<PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<PackageIcon>PackageIcon64.png</PackageIcon>
<PackageReleaseNotes>Release notes are at https://github.com/skwasjer/Correlate/releases</PackageReleaseNotes>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AnalysisLevel>latest-All</AnalysisLevel>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 2eb62d6

Please sign in to comment.