Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
57 lines (47 loc) · 2.39 KB
/
Copy pathDirectory.Build.props
File metadata and controls
57 lines (47 loc) · 2.39 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
<Project>
<!--
Shared NuGet package metadata inherited by every project in the repository.
Per-project values (PackageId, Description, PackageTags) are kept in the
individual .csproj files.
Version is shared by all packages and should match the latest release in
CHANGELOG.md; bump it in the release PR. The publish workflow overrides it
with the tag (/p:Version=x.y.z), so a tag always wins.
-->
<PropertyGroup>
<Version>0.4.0</Version>
<Authors>Eight-Bot, Inc.; Michael Stonis</Authors>
<Company>Eight-Bot, Inc.</Company>
<Copyright>Copyright © Eight-Bot, Inc. $([System.DateTime]::UtcNow.Year)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TheEightBot/MintedTextEditor</PackageProjectUrl>
<RepositoryUrl>https://github.com/TheEightBot/MintedTextEditor</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Embed the README in every package (path relative to each project) -->
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- NuGet package icon -->
<PackageIcon>logo.png</PackageIcon>
<!-- Deterministic builds for reproducibility -->
<Deterministic>true</Deterministic>
<!-- Embed portable PDB in the package for source-link / debugging -->
<DebugType>portable</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Enable SourceLink for GitHub -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<!--
Keep the public API fully documented: a missing or broken XML doc comment
fails the build. Only projects with GenerateDocumentationFile (the
libraries) report these.
-->
<WarningsAsErrors>$(WarningsAsErrors);CS1591;CS1572;CS1573;CS1574;CS1734</WarningsAsErrors>
</PropertyGroup>
<!-- Include README and icon in every package -->
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)images/logo.png" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- SourceLink for GitHub (requires Microsoft.SourceLink.GitHub package) -->
<ItemGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.402" PrivateAssets="All"/>
</ItemGroup>
</Project>