-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
66 lines (60 loc) · 2.8 KB
/
Copy pathDirectory.Build.props
File metadata and controls
66 lines (60 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<Project>
<!-- ====== Language / compiler ====== -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<NoWarn>$(NoWarn);CS1591;CA1304;CA1310;CA1311;CA2007</NoWarn>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!-- ====== Reproducibility & SourceLink ====== -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>portable</DebugType>
</PropertyGroup>
<!-- ====== Common NuGet package metadata ====== -->
<PropertyGroup>
<Version>1.0.0</Version>
<Authors>Texnomic</Authors>
<Company>Texnomic</Company>
<Copyright>Copyright © Texnomic $([System.DateTime]::UtcNow.Year)</Copyright>
<Product>Texnomic.Types.Extensions</Product>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Texnomic/Types.Extensions</PackageProjectUrl>
<RepositoryUrl>https://github.com/Texnomic/Types.Extensions</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>extensions;biginteger;hex;brotli;span;utf8jsonreader;clientwebsocket;ethereum;uint256;json-converter</PackageTags>
<IsPackable>true</IsPackable>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputPath>
</PropertyGroup>
<!-- ====== Pack the repo README + LICENSE into every package ====== -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="$(MSBuildThisFileDirectory)README.md"
Pack="true"
PackagePath="\"
Visible="false"
Condition="Exists('$(MSBuildThisFileDirectory)README.md')" />
<None Include="$(MSBuildThisFileDirectory)LICENSE"
Pack="true"
PackagePath="\"
Visible="false"
Condition="Exists('$(MSBuildThisFileDirectory)LICENSE')" />
</ItemGroup>
<PropertyGroup Condition="'$(IsPackable)' == 'true' AND Exists('$(MSBuildThisFileDirectory)README.md')">
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
</Project>