Skip to content

Commit ab33ed9

Browse files
authored
Build separate addin for Cake.Frosting (#499)
1 parent 7d6e92c commit ab33ed9

File tree

7 files changed

+103
-69
lines changed

7 files changed

+103
-69
lines changed

nuspec/nuget/Cake.AzureDevOps.nuspec

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>Cake.AzureDevOps</id>
5+
<title>Cake.AzureDevOps</title>
6+
<version>0.0.0</version>
7+
<authors>Pascal Berger</authors>
8+
<owners>pascalberger</owners>
9+
<summary>Addin for the Cake build automation system for working with Azure DevOps</summary>
10+
<description>
11+
Addin for the Cake build automation system for working with Azure DevOps.
12+
13+
NOTE:
14+
This is the version of the addin compatible with Cake Script Runners.
15+
For addin compatible with Cake Frosting see Cake.Frosting.AzureDevOps.
16+
</description>
17+
<license type="expression">MIT</license>
18+
<projectUrl>http://cake-contrib.github.io/Cake.AzureDevOps/</projectUrl>
19+
<icon>icon.png</icon>
20+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
21+
<repository type="git" url="https://github.com/cake-contrib/Cake.AzureDevOps.git"/>
22+
<copyright>Copyright © Pascal Berger</copyright>
23+
<tags>cake cake-addin azure-devops azure-devops-server</tags>
24+
<releaseNotes>https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0</releaseNotes>
25+
</metadata>
26+
<files>
27+
<file src="..\..\..\..\nuspec\nuget\icon.png" target="" />
28+
<file src="..\..\..\..\nuspec\nuget\3rdPartyLicense.txt" target="" />
29+
<file src="**\Cake.AzureDevOps.*" target="lib" exclude="**\*.deps.json;**\*.dll.config" />
30+
<file src="**\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" target="lib" />
31+
<file src="**\Microsoft.TeamFoundation.Build2.WebApi.dll" target="lib" />
32+
<file src="**\Microsoft.TeamFoundation.Common.dll" target="lib" />
33+
<file src="**\Microsoft.TeamFoundation.Core.WebApi.dll" target="lib" />
34+
<file src="**\Microsoft.TeamFoundation.DistributedTask.Common.Contracts.dll" target="lib" />
35+
<file src="**\Microsoft.TeamFoundation.Policy.WebApi.dll" target="lib" />
36+
<file src="**\Microsoft.TeamFoundation.SourceControl.WebApi.dll" target="lib" />
37+
<file src="**\Microsoft.TeamFoundation.TestManagement.WebApi.dll" target="lib" />
38+
<file src="**\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll" target="lib" />
39+
<file src="**\Microsoft.VisualStudio.Services.Client.Interactive.dll" target="lib" />
40+
<file src="**\Microsoft.VisualStudio.Services.Common.dll" target="lib" />
41+
<file src="**\Microsoft.VisualStudio.Services.WebApi.dll" target="lib" />
42+
<file src="**\System.ComponentModel.Annotations.dll" target="lib" />
43+
<file src="**\System.Net.Http.Formatting.dll" target="lib" />
44+
<file src="**\TfsUrlParser.dll" target="lib" />
45+
</files>
46+
</package>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>Cake.Frosting.AzureDevOps</id>
5+
<title>Cake.Frosting.AzureDevOps</title>
6+
<version>0.0.0</version>
7+
<authors>Pascal Berger</authors>
8+
<owners>pascalberger</owners>
9+
<summary>Addin for the Cake build automation system for working with Azure DevOps</summary>
10+
<description>
11+
Addin for the Cake build automation system for working with Azure DevOps.
12+
13+
NOTE:
14+
This is the version of the addin compatible with Cake Frosting.
15+
For addin compatible with Cake Script Runners see Cake.AzureDevOps.
16+
</description>
17+
<license type="expression">MIT</license>
18+
<projectUrl>http://cake-contrib.github.io/Cake.AzureDevOps/</projectUrl>
19+
<icon>icon.png</icon>
20+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
21+
<repository type="git" url="https://github.com/cake-contrib/Cake.AzureDevOps.git"/>
22+
<copyright>Copyright © Pascal Berger</copyright>
23+
<tags>cake cake-addin azure-devops azure-devops-server</tags>
24+
<releaseNotes>https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0</releaseNotes>
25+
<dependencies>
26+
<group targetFramework="net8.0">
27+
<dependency id="Cake.Core" version="5.0" exclude="Build,Analyzers" />
28+
<dependency id="Microsoft.TeamFoundationServer.Client" version="16.205.1" exclude="Build,Analyzers" />
29+
<dependency id="Microsoft.VisualStudio.Services.InteractiveClient" version="16.205.1" exclude="Build,Analyzers" />
30+
<dependency id="TfsUrlParser" version="1.3.0" exclude="Build,Analyzers" />
31+
</group>
32+
<group targetFramework="net9.0">
33+
<dependency id="Cake.Core" version="5.0" exclude="Build,Analyzers" />
34+
<dependency id="Microsoft.TeamFoundationServer.Client" version="16.205.1" exclude="Build,Analyzers" />
35+
<dependency id="Microsoft.VisualStudio.Services.InteractiveClient" version="16.205.1" exclude="Build,Analyzers" />
36+
<dependency id="TfsUrlParser" version="1.3.0" exclude="Build,Analyzers" />
37+
</group>
38+
</dependencies>
39+
</metadata>
40+
<files>
41+
<file src="icon.png" target="" />
42+
<file src="Cake.Frosting.AzureDevOps.targets" target="build" />
43+
<file src="Cake.Frosting.AzureDevOps.targets" target="buildTransitive" />
44+
<file src="..\..\src\Cake.AzureDevOps\bin\Release\**\Cake.AzureDevOps.*" target="lib" exclude="**\*.deps.json" />
45+
</files>
46+
</package>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project>
2+
<ItemGroup Condition="'$(Language)' == 'C#' AND ('$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable')">
3+
<Using Include="Cake.AzureDevOps" />
4+
<Using Include="Cake.AzureDevOps.Authentication" />
5+
<Using Include="Cake.AzureDevOps.Boards.WorkItemTracking" />
6+
<Using Include="Cake.AzureDevOps.Pipelines" />
7+
<Using Include="Cake.AzureDevOps.Repos" />
8+
<Using Include="Cake.AzureDevOps.Repos.PullRequest" />
9+
<Using Include="Cake.AzureDevOps.Repos.PullRequest.CommentThread" />
10+
</ItemGroup>
11+
</Project>
File renamed without changes.

recipe.cake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ BuildParameters.SetParameters(
1111
repositoryName: "Cake.AzureDevOps",
1212
appVeyorAccountName: "cakecontrib",
1313
shouldCalculateVersion: true,
14-
shouldRunDotNetCorePack: true,
1514
shouldGenerateDocumentation: false, // Fails to restore tool on AppVeyor
1615
shouldRunCoveralls: false, // Fails to restore tool on AppVeyor
1716
shouldRunCodecov: false); // Fails to restore tool on AppVeyor

src/Cake.AzureDevOps/Cake.AzureDevOps.csproj

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@
1616
<Description>Addin for the Cake build automation system for working with Azure DevOps.</Description>
1717
<Authors>Pascal Berger</Authors>
1818
<Copyright>Copyright © Pascal Berger</Copyright>
19-
<PackageTags>cake cake-addin azure-devops azure-devops-server</PackageTags>
20-
<PackageIcon>icon.png</PackageIcon>
21-
<PackageProjectUrl>http://cake-contrib.github.io/Cake.AzureDevOps/</PackageProjectUrl>
22-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
23-
<RepositoryType>git</RepositoryType>
24-
<RepositoryUrl>https://github.com/cake-contrib/Cake.AzureDevOps.git</RepositoryUrl>
25-
<PackageReleaseNotes>https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/$(Version)</PackageReleaseNotes>
2619
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
2720
<IncludeBuildOutput>false</IncludeBuildOutput>
2821
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage>
@@ -45,65 +38,4 @@
4538
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient" Version="16.205.1" PrivateAssets="All" />
4639
<PackageReference Include="TfsUrlParser" Version="1.3.0" PrivateAssets="All" />
4740
</ItemGroup>
48-
49-
<ItemGroup>
50-
<None Include="3rdPartyLicense.txt" Pack="true" PackagePath="\" />
51-
<None Include="icon.png" Pack="true" PackagePath="\" />
52-
</ItemGroup>
53-
54-
<Target Name="PackBuildOutputs" DependsOnTargets="SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup">
55-
<ItemGroup>
56-
<TfmSpecificPackageFile Include="$(OutputPath)\**\3rdPartyLicense.txt">
57-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
58-
</TfmSpecificPackageFile>
59-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Cake.AzureDevOps.*">
60-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
61-
</TfmSpecificPackageFile>
62-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.IdentityModel.Clients.ActiveDirectory.dll">
63-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
64-
</TfmSpecificPackageFile>
65-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.Build2.WebApi.dll">
66-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
67-
</TfmSpecificPackageFile>
68-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.Common.dll">
69-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
70-
</TfmSpecificPackageFile>
71-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.Core.WebApi.dll">
72-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
73-
</TfmSpecificPackageFile>
74-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.DistributedTask.Common.Contracts.dll">
75-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
76-
</TfmSpecificPackageFile>
77-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.Policy.WebApi.dll">
78-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
79-
</TfmSpecificPackageFile>
80-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.SourceControl.WebApi.dll">
81-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
82-
</TfmSpecificPackageFile>
83-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.TestManagement.WebApi.dll">
84-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
85-
</TfmSpecificPackageFile>
86-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll">
87-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
88-
</TfmSpecificPackageFile>
89-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.VisualStudio.Services.Client.Interactive.dll">
90-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
91-
</TfmSpecificPackageFile>
92-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.VisualStudio.Services.Common.dll">
93-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
94-
</TfmSpecificPackageFile>
95-
<TfmSpecificPackageFile Include="$(OutputPath)\**\Microsoft.VisualStudio.Services.WebApi.dll">
96-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
97-
</TfmSpecificPackageFile>
98-
<TfmSpecificPackageFile Include="$(OutputPath)\**\System.ComponentModel.Annotations.dll">
99-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
100-
</TfmSpecificPackageFile>
101-
<TfmSpecificPackageFile Include="$(OutputPath)\**\System.Net.Http.Formatting.dll">
102-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
103-
</TfmSpecificPackageFile>
104-
<TfmSpecificPackageFile Include="$(OutputPath)\**\TfsUrlParser.dll">
105-
<PackagePath>lib\$(TargetFramework)\</PackagePath>
106-
</TfmSpecificPackageFile>
107-
</ItemGroup>
108-
</Target>
10941
</Project>

0 commit comments

Comments
 (0)