-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
57 lines (53 loc) · 3.21 KB
/
Copy pathDirectory.Build.props
File metadata and controls
57 lines (53 loc) · 3.21 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>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-all</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<Authors>FunctionFoundry Contributors</Authors>
<Company>FunctionFoundry</Company>
<Copyright>Copyright (c) FunctionFoundry Contributors</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Chookees/FunctionFoundry</PackageProjectUrl>
<RepositoryUrl>https://github.com/Chookees/FunctionFoundry</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<VersionPrefix>1.1.0</VersionPrefix>
<!-- Local packs get -local so accidental nuget.org pushes are distinguishable. Clear VersionSuffix (CI / publish scripts) for release packs. -->
<VersionSuffix Condition="'$(VersionSuffix)' == '' and '$(CI)' != 'true' and '$(FF_RELEASE_PACK)' != 'true'">local</VersionSuffix>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<PackageOutputPath>$(ArtifactsPath)/packages</PackageOutputPath>
</PropertyGroup>
<!-- ZIP / source-archive builds have no .git folder; disable SourceLink queries to avoid warnings. -->
<PropertyGroup Condition="!Exists('$(MSBuildThisFileDirectory).git')">
<EnableSourceControlManagerQueries>false</EnableSourceControlManagerQueries>
<EnableSourceLink>false</EnableSourceLink>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Normalize path separators so Windows ZIP checkouts match /samples/ detection. -->
<_NormalizedProjectDir>$([System.String]::Copy('$(MSBuildProjectDirectory)').Replace('\', '/'))</_NormalizedProjectDir>
</PropertyGroup>
<PropertyGroup Condition="'$(IsTestProject)' == 'true' or $(MSBuildProjectName.EndsWith('.Tests')) or $(MSBuildProjectName.EndsWith('.Sample')) or $(MSBuildProjectName.Contains('.Benchmarks')) or $(_NormalizedProjectDir.Contains('/samples/')) or $(_NormalizedProjectDir.Contains('/benchmarks/')) or $(_NormalizedProjectDir.Contains('/tests/'))">
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);CS1591;CA1707;CA1812;CA1515;CA1050;IDE0005</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReadmeFile>PACKAGE.md</PackageReadmeFile>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
</Project>