-
Notifications
You must be signed in to change notification settings - Fork 694
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
33 lines (26 loc) · 1.42 KB
/
Directory.Build.props
File metadata and controls
33 lines (26 loc) · 1.42 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
<Project>
<Import Project="../../Directory.Build.props" />
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<NoWarn>$(NoWarn);EnableGenerateDocumentationFile</NoWarn>
</PropertyGroup>
<PropertyGroup Label="ProductInfo">
<SourceDateEpoch>$(SOURCE_DATE_EPOCH)</SourceDateEpoch>
<SourceDateEpoch Condition="'$(SourceDateEpoch)' == ''">$([System.DateTimeOffset]::UtcNow.ToUnixTimeSeconds())</SourceDateEpoch>
<VersionPrefix>1.38.0</VersionPrefix>
<VersionSuffix>unstable</VersionSuffix>
</PropertyGroup>
<ItemGroup Label="AssemblyCustomMetadata">
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>SourceDateEpoch</_Parameter1>
<_Parameter2>$(SourceDateEpoch)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
<!-- Exclude the analyzer itself and the source generator (netstandard2.0, can't reference analyzers) -->
<ItemGroup Condition="'$(MSBuildProjectName)' != 'Nethermind.Analyzers' AND '$(MSBuildProjectName)' != 'Nethermind.Serialization.SszGenerator'">
<ProjectReference Include="$(MSBuildThisFileDirectory)Nethermind.Analyzers/Nethermind.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.StartsWith('netstandard'))">
<Using Include="System.Runtime.Intrinsics.Vector256<byte>" Alias="EvmWord" />
</ItemGroup>
</Project>