-
-
Notifications
You must be signed in to change notification settings - Fork 71
/
Directory.Build.props
80 lines (69 loc) · 3.18 KB
/
Directory.Build.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Project>
<PropertyGroup Label="Ensure SolutionName is defined for project level pipeline">
<SolutionName Condition="'$(SolutionName)' == ''">$([System.IO.Path]::GetFileNameWithoutExtension($([System.IO.Directory]::GetFiles("$(MSBuildThisFileDirectory)", "*.sln")[0])))</SolutionName>
</PropertyGroup>
<PropertyGroup Label="Configure assembly names and namespaces">
<AssemblyName>$(SolutionName).$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
</PropertyGroup>
<PropertyGroup Label="Common assembly attributes">
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<LangVersion>default</LangVersion>
<Year>$([System.DateTime]::Today.Year)</Year>
<Authors>Giorgi Dalakishvili</Authors>
<Company>Giorgi Dalakishvili</Company>
<Copyright>Copyright © 2020 - $(Year) Giorgi Dalakishvili</Copyright>
<Product>DuckDB.NET.$(MSBuildProjectName)</Product>
<PackageId>DuckDB.NET.$(MSBuildProjectName)</PackageId>
<PackageTags>DuckDB;ADO.NET;Database;Olap;Embedded</PackageTags>
<PackageIcon>Logo.jpg</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(Configuration)'=='Release'">True</ContinuousIntegrationBuild>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Giorgi/DuckDB.NET</RepositoryUrl>
<PackageProjectUrl>https://github.com/Giorgi/DuckDB.NET</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<PropertyGroup>
<BuildType>ManagedOnly</BuildType>
<NoNativeText>This package does not include a copy of the native DuckDB library.</NoNativeText>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildType)' == 'Full' ">
<PackageId>$(PackageId).Full</PackageId>
</PropertyGroup>
<ItemGroup>
<None Include="..\LICENSE.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\LICENSE-DuckDB.txt" Condition="'$(BuildType)' == 'Full' ">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\Logo.jpg">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<PropertyGroup Label="CI" Condition="'$(CI)' == ''">
<CI>false</CI>
<!-- GH, CircleCI, GitLab and BitBucket already use CI -->
<CI Condition="'$(TF_BUILD)' == 'true' or
'$(TEAMCITY_VERSION)' != '' or
'$(APPVEYOR)' != '' or
'$(BuildRunner)' == 'MyGet' or
'$(JENKINS_URL)' != '' or
'$(TRAVIS)' == 'true' or
'$(BUDDY)' == 'true' or
'$(CODEBUILD_CI)' == 'true'">true</CI>
</PropertyGroup>
</Project>