-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
53 lines (47 loc) · 2.51 KB
/
Directory.Build.props
File metadata and controls
53 lines (47 loc) · 2.51 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
<Project>
<!-- Common -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Configuration Condition="$(Configuration) == ''">Debug</Configuration>
<NoWarn>$(NoWarn);CS8509;IDE0039;IDE0130;IDE0290;IDE0060;RZ10012;IDE0052;BL0007;NU5128</NoWarn>
<WarningsAsErrors>$(WarningsAsErrors);RZ2012</WarningsAsErrors>
<ArtifactsProjectPath>$([MSBuild]::MakeRelative($(MSBuildThisFileDirectory), $(MSBuildProjectDirectory)).Replace("$(MSBuildProjectName)", '').TrimEnd('/'))</ArtifactsProjectPath>
<ArtifactsPath>$([System.IO.Path]::Combine($(MSBuildThisFileDirectory), "artifacts", $(ArtifactsProjectPath)))</ArtifactsPath>
<UseArtifactsOutput>true</UseArtifactsOutput>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IsPackable>false</IsPackable>
<DisableGitVersionTask Condition="'$(IsPackable)' == 'false'">false</DisableGitVersionTask>
</PropertyGroup>
<!-- Repository -->
<PropertyGroup>
<Authors>Heretic Software</Authors>
<Copyright>Copyright (c) $([System.DateTimeOffset]::UtcNow.ToString("yyyy")) $(Authors)</Copyright>
<RepositoryUrl>https://www.github.com/HereticSoftware/Metaphrase</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryLicense>MIT</RepositoryLicense>
<RepositoryDescription></RepositoryDescription>
<RepositoryTags>translate;i18n</RepositoryTags>
</PropertyGroup>
<!-- Package -->
<PropertyGroup>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageLicenseExpression>$(RepositoryLicense)</PackageLicenseExpression>
<PackageDescription>$(RepositoryDescription)</PackageDescription>
<PackageTags>$(RepositoryTags)</PackageTags>
<PackageReleaseNotes>$(RepositoryUrl)/releases</PackageReleaseNotes>
<!--<PackageIcon>Icon.png</PackageIcon>-->
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageOutputPath>$([System.IO.Path]::Combine($(MSBuildThisFileDirectory), "packages"))</PackageOutputPath>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- Package -->
<ItemGroup Condition="'$(OutputType)' == 'Library' and $(IsPackable)">
<None Include="$(MSBuildThisFileDirectory)\README.md" Pack="True" PackagePath="\" />
<!--<None Include="$(MSBuildThisFileDirectory)\Icon.png" Pack="True" PackagePath="\" />-->
</ItemGroup>
</Project>