-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
72 lines (62 loc) · 3.56 KB
/
Copy pathDirectory.Build.props
File metadata and controls
72 lines (62 loc) · 3.56 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
67
68
69
70
71
72
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>preview</LangVersion>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<NoWarn>CS1591;NU5129;NU5118;SYSLIB0050;SYSLIB0051</NoWarn>
<DebugType>embedded</DebugType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup>
<Description>Build automation for C#/.NET — the hard-fork successor to NUKE.</Description>
<Authors>Maintainers of Fallout (originally Matthias Koch and contributors)</Authors>
<Copyright>Copyright $([System.DateTime]::Now.Year) Maintainers of Fallout</Copyright>
<PackageTags>build automation continuous-integration tools orchestration</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Fallout-build/Fallout</PackageProjectUrl>
<!-- TODO: re-enable PackageIcon once we have a 256×256 PNG export of .assets/fallout-logo.svg.
NuGet doesn't accept SVG for PackageIcon. -->
<!-- <PackageIcon>icon.png</PackageIcon>-->
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('Tests')) Or $(MSBuildProjectName.EndsWith('Specs'))">
<IsPackable>False</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(IsPackable)' != 'False'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- Pack a README.md into every package. Prefer a per-project README.md when present
(e.g. Fallout.Migrate.Analyzers, the Nuke.* transition shims) so each package can ship its own
landing page; otherwise fall back to the repo-root README.md. Pack="true" only includes the
file during `dotnet pack`; PackageReadmeFile above wires it to nuget.org's package page. -->
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)/README.md')">
<None Include="$(MSBuildProjectDirectory)/README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup Condition="!Exists('$(MSBuildProjectDirectory)/README.md')">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<!-- TODO: re-enable once .assets/icon.png exists (rendered from fallout-logo.svg).
<ItemGroup Condition="'$(_IsPacking)' == 'True'">
<None Include="$(MSBuildThisFileDirectory).assets\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>
-->
<!-- Central package management is off for build/_build.csproj; skip these refs there since they'd require explicit versions. -->
<ItemGroup Condition="'$(ManagePackageVersionsCentrally)' != 'false'">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests')) Or $(MSBuildProjectName.EndsWith('Specs'))">
<PackageReference Include="coverlet.msbuild" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="GitHubActionsTestLogger" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<!-- <PackageReference Include="TeamCity.VSTest.TestAdapter" />-->
<PackageReference Include="Verify.Xunit" />
<PackageReference Include="Verify.DiffPlex" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)AssemblyInfo.cs" />
</ItemGroup>
</Project>