Skip to content

Commit

Permalink
refactor: To DotNet.ReproducibleBuilds.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Aug 1, 2022
1 parent ff91d6d commit e9d77c8
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions src/libs/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

<Import Project="..\Directory.Build.props" />

<PropertyGroup Label="Common">
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<PropertyGroup Label="Signing">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(SolutionDir)src\key.snk</AssemblyOriginatorKeyFile>
Expand All @@ -29,8 +21,6 @@
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Authors>havendv</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/HavenDV/H.NSwag.Generator</PackageProjectUrl>
<RepositoryUrl>https://github.com/HavenDV/H.NSwag.Generator</RepositoryUrl>
<PackageIcon>nuget_icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand All @@ -40,15 +30,8 @@
<None Include="$(SolutionDir)README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<PropertyGroup Label="Source Link">
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedAllSources>true</EmbedAllSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup Label="Source Link">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -57,7 +40,7 @@
<PropertyGroup Label="Analyzers">
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisMode>All</AnalysisMode>
</PropertyGroup>

</Project>

0 comments on commit e9d77c8

Please sign in to comment.