-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
54 lines (47 loc) · 2.6 KB
/
Copy pathDirectory.Build.props
File metadata and controls
54 lines (47 loc) · 2.6 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
<Project>
<!-- Configuración transversal de toda la solución Weft (net10.0 / C# 13).
Los .csproj individuales añaden Description y referencias; cada librería publicable
lleva su propio README.md (empaquetado como PackageReadmeFile, ver abajo). -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<Deterministic>true</Deterministic>
<InvariantGlobalization>true</InvariantGlobalization>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('Tests'))">true</IsTestProject>
<!-- Solo las librerías de src/ se empaquetan; tests, samples y load-test no (CHARTER-07/T055). -->
<IsPackable Condition="'$(IsTestProject)' == 'true'">false</IsPackable>
<IsPackable Condition="$(MSBuildProjectDirectory.Contains('samples'))">false</IsPackable>
<IsPackable Condition="$(MSBuildProjectName) == 'Weft.LoadTest'">false</IsPackable>
</PropertyGroup>
<!-- Solo librerías publicables: docs XML, metadatos de paquete Apache-2.0 y SourceLink. -->
<PropertyGroup Condition="'$(IsTestProject)' != 'true'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Authors>Strange Days Tech</Authors>
<Company>Strange Days Tech</Company>
<Product>Weft</Product>
<PackageProjectUrl>https://github.com/StrangeDaysTech/weft</PackageProjectUrl>
<RepositoryUrl>https://github.com/StrangeDaysTech/weft</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<!-- Each publishable library ships its own README.md (in the project folder), embedded in the .nupkg. -->
<ItemGroup Condition="'$(IsTestProject)' != 'true' AND Exists('$(MSBuildProjectDirectory)/README.md')">
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>
</Project>