This repository was archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.targets
43 lines (36 loc) · 3.3 KB
/
Directory.Build.targets
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
<Project>
<Target Name="VSTestIfTestProject">
<CallTarget Targets="VSTest" Condition="'$(IsTestProject)' == 'true'" />
</Target>
<PropertyGroup>
<IsPackable>true</IsPackable>
<Authors>bvli</Authors>
<Company>Beverli.NET</Company>
<Description>Simple utility for calculating Christian holidays</Description>
<Copyright>Bjarke Lindberg, 2007</Copyright>
<PackageLicenseUrl>https://github.com/bvli/B.Calendar/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/bvli/B.Calendar</PackageProjectUrl>
<RepositoryUrl>https://github.com/bvli/B.Calendar</RepositoryUrl>
<PackageTags>Calendar; Holiday; Holiday calculation; Easter; Easter calculation;</PackageTags>
</PropertyGroup>
<PropertyGroup>
<GitThisAssembly>true</GitThisAssembly>
<GitThisAssemblyMetadata>true</GitThisAssemblyMetadata>
<GitInfoReportImportance>high</GitInfoReportImportance>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="gitinfo" Version="2.0.8" />
</ItemGroup>
<PropertyGroup>
<GitInfoTargets>$(PackagesPath)\GitInfo\build\GitInfo.targets</GitInfoTargets>
</PropertyGroup>
<Target Name="Configure" AfterTargets="GitInfoReport" DependsOnTargets="GitInfo" >
<PropertyGroup>
<VersionPrefix>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</VersionPrefix>
<VersionSuffix>$(GitSemVerDashLabel)</VersionSuffix>
<Version>$(VersionPrefix)$(VersionSuffix)</Version>
<PackageVersion>$(Version)</PackageVersion>
</PropertyGroup>
<Message Text="Version: $(versionPrefix)$(VersionSuffix)" Importance="high" />
</Target>
</Project>