-
Notifications
You must be signed in to change notification settings - Fork 12
/
Package.props
49 lines (43 loc) · 2.25 KB
/
Package.props
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
<?xml version="1.0" encoding="UTF-8" ?>
<Project>
<PropertyGroup Label="build options">
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<WarningsAsErrors>true</WarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Label="pack options">
<IsPackable>true</IsPackable>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Label="ci Build" Condition="'$(CI_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Label="package options">
<PackageId>$(AssemblyName)</PackageId>
<PackageVersion>0.0.0</PackageVersion> <!-- Will be passed to the build -->
<Authors>Digitec Galaxus AG</Authors>
<Copyright>2018-2023 Digitec Galaxus AG</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/DigitecGalaxus/Galaxus.Functional</PackageProjectUrl>
<RepositoryUrl>https://github.com/DigitecGalaxus/Galaxus.Functional</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup Label="source link">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
<ItemGroup Label="included files">
<None Include="$(MSBuildThisFileDirectory)/logo.png" Pack="true" PackagePath="/"/>
<None Include="$(MSBuildThisFileDirectory)/README.md" Pack="true" PackagePath="/"/>
<None Include="$(MSBuildThisFileDirectory)/LICENSE" Pack="true" PackagePath="/"/>
</ItemGroup>
<Target Name="CheckProperties" BeforeTargets="Pack">
<Error Condition="'$(Description)' == ''" Text="Description must be defined" />
<Error Condition="'$(PackageTags)' == ''" Text="PackageTags must be defined" />
<Error Condition="'$(PackageVersion)' == '0.0.0'" Text="PackageVersion must be given" />
</Target>
</Project>