-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathDirectory.Build.props
36 lines (31 loc) · 1.5 KB
/
Directory.Build.props
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
<Project>
<Sdk Name="ViHo.PackAsAnalyzer" Version="1.0.1" />
<PropertyGroup>
<Nullable>enable</Nullable>
<Version>1.11.2</Version>
<SignAssembly>False</SignAssembly>
</PropertyGroup>
<PropertyGroup Label="Package Attributes">
<Authors>domn1995</Authors>
<Company />
<Description>A simple source generator for discriminated unions in C#.</Description>
<PackageProjectUrl>https://github.com/domn1995/dunet</PackageProjectUrl>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/domn1995/dunet</RepositoryUrl>
<PackageTags>source; generator; discriminated; union; functional; tagged;</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>https://github.com/domn1995/dunet/releases</PackageReleaseNotes>
<RepositoryType>git</RepositoryType>
<PackageIcon>favicon.png</PackageIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<Target Name="DotnetToolRestore" BeforeTargets="Restore">
<Exec Command="dotnet tool restore" />
</Target>
<ItemGroup Condition=" '$(IsPackable)' == 'true' ">
<None Include="$(MSBuildThisFileDirectory)\Readme.md" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)\favicon.png" Pack="true" PackagePath="\"/>
</ItemGroup>
</Project>