Skip to content

Commit d63fbf9

Browse files
committed
Change AppVeyor to be a build system
1 parent f8de666 commit d63fbf9

19 files changed

+86
-80
lines changed

nuspec/nuget/Cake.Frosting.Issues.PullRequests.AppVeyor.md renamed to nuspec/nuget/Cake.Frosting.Issues.Build.AppVeyor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> **NOTE**:
44
> This is the version of the addin compatible with [Cake Frosting].
5-
> For addin compatible with [Cake .NET Tool] see [Cake.Issues.PullRequests.AppVeyor](https://www.nuget.org/packages/Cake.Issues.PullRequests.AppVeyor).
5+
> For addin compatible with [Cake .NET Tool] see [Cake.Issues.Build.AppVeyor](https://www.nuget.org/packages/Cake.Issues.Build.AppVeyor).
66
77
AppVeyor support for the Cake.Issues addin for Cake allows you to write found issues as message to AppVeyor builds.
88

Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4-
<id>Cake.Frosting.Issues.PullRequests.AppVeyor</id>
5-
<title>Cake.Frosting.Issues.PullRequests.AppVeyor</title>
4+
<id>Cake.Frosting.Issues.Build.AppVeyor</id>
5+
<title>Cake.Frosting.Issues.Build.AppVeyor</title>
66
<version>0.0.0</version>
77
<authors>Cake Issues contributors</authors>
88
<owners>pascalberger, cake-contrib</owners>
@@ -11,39 +11,39 @@
1111
AppVeyor support for the Cake.Issues addin for Cake allows you to write found issues as message to AppVeyor builds.
1212

1313
This addin provides the aliases for writing to AppVeyor builds.
14-
It also requires the core Cake.Issues and Cake.Issues.PullRequests addins and one or more issue providers.
14+
It also requires the core Cake.Issues and Cake.Issues.Build addins and one or more issue providers.
1515

1616
See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts.
1717

1818
NOTE:
1919
This is the version of the addin compatible with Cake Frosting.
20-
For addin compatible with Cake Script Runners see Cake.Issues.PullRequests.AppVeyor.
20+
For addin compatible with Cake Script Runners see Cake.Issues.Build.AppVeyor.
2121
</description>
2222
<license type="expression">MIT</license>
2323
<projectUrl>https://cakeissues.net</projectUrl>
2424
<icon>icon.png</icon>
2525
<requireLicenseAcceptance>false</requireLicenseAcceptance>
2626
<repository type="git" url="https://github.com/cake-contrib/Cake.Issues.git"/>
2727
<copyright>Copyright © Cake Issues contributors</copyright>
28-
<tags>cake cake-addin cake-issues cake-pullrequestsystem issues pullrequest buildserver appveyor</tags>
28+
<tags>cake cake-addin cake-issues cake-issues-buildserver issues buildserver appveyor</tags>
2929
<readme>docs\README.md</readme>
3030
<releaseNotes>https://github.com/cake-contrib/Cake.Issues/releases/tag/5.9.1</releaseNotes>
3131
<dependencies>
3232
<group targetFramework="net8.0">
3333
<dependency id="Cake.Common" version="5.0" exclude="Build,Analyzers" />
34-
<dependency id="Cake.Frosting.Issues.PullRequests" version="[5.0.0-beta0001,6.0)" exclude="Build,Analyzers" />
34+
<dependency id="Cake.Frosting.Issues.Build" version="[5.0.0-beta0001,6.0)" exclude="Build,Analyzers" />
3535
</group>
3636
<group targetFramework="net9.0">
3737
<dependency id="Cake.Common" version="5.0" exclude="Build,Analyzers" />
38-
<dependency id="Cake.Frosting.Issues.PullRequests" version="[5.0.0-beta0001,6.0)" exclude="Build,Analyzers" />
38+
<dependency id="Cake.Frosting.Issues.Build" version="[5.0.0-beta0001,6.0)" exclude="Build,Analyzers" />
3939
</group>
4040
</dependencies>
4141
</metadata>
4242
<files>
4343
<file src="icon.png" target="" />
44-
<file src="Cake.Frosting.Issues.PullRequests.AppVeyor.targets" target="build" />
45-
<file src="Cake.Frosting.Issues.PullRequests.AppVeyor.targets" target="buildTransitive" />
46-
<file src="Cake.Frosting.Issues.PullRequests.AppVeyor.md" target="docs\README.md" />
47-
<file src="..\..\src\Cake.Issues.PullRequests.AppVeyor\bin\Release\**\Cake.Issues.PullRequests.AppVeyor.*" target="lib" exclude="**\*.deps.json" />
44+
<file src="Cake.Frosting.Issues.Build.AppVeyor.targets" target="build" />
45+
<file src="Cake.Frosting.Issues.Build.AppVeyor.targets" target="buildTransitive" />
46+
<file src="Cake.Frosting.Issues.Build.AppVeyor.md" target="docs\README.md" />
47+
<file src="..\..\src\Cake.Issues.Build.AppVeyor\bin\Release\**\Cake.Issues.Build.AppVeyor.*" target="lib" exclude="**\*.deps.json" />
4848
</files>
4949
</package>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<ItemGroup Condition="'$(Language)' == 'C#' AND ('$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable')">
3-
<Using Include="Cake.Issues.PullRequests.AppVeyor" />
3+
<Using Include="Cake.Issues.Build.AppVeyor" />
44
</ItemGroup>
55
</Project>

nuspec/nuget/Cake.Issues.PullRequests.AppVeyor.md renamed to nuspec/nuget/Cake.Issues.Build.AppVeyor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> **NOTE**:
44
> This is the version of the addin compatible with [Cake .NET Tool].
5-
> For addin compatible with [Cake Frosting] see [Cake.Frosting.Issues.PullRequests.AppVeyor](https://www.nuget.org/packages/Cake.Frosting.Issues.PullRequests.AppVeyor).
5+
> For addin compatible with [Cake Frosting] see [Cake.Frosting.Issues.Build.AppVeyor](https://www.nuget.org/packages/Cake.Frosting.Issues.Build.AppVeyor).
66
77
AppVeyor support for the Cake.Issues addin for Cake allows you to write found issues as message to AppVeyor builds.
88

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4-
<id>Cake.Issues.PullRequests.AppVeyor</id>
5-
<title>Cake.Issues.PullRequests.AppVeyor</title>
4+
<id>Cake.Issues.Build.AppVeyor</id>
5+
<title>Cake.Issues.Build.AppVeyor</title>
66
<version>0.0.0</version>
77
<authors>Cake Issues contributors</authors>
88
<owners>pascalberger, cake-contrib</owners>
@@ -11,21 +11,21 @@
1111
AppVeyor support for the Cake.Issues addin for Cake allows you to write found issues as message to AppVeyor builds.
1212

1313
This addin provides the aliases for writing to AppVeyor builds.
14-
It also requires the core Cake.Issues and Cake.Issues.PullRequests addins and one or more issue providers.
14+
It also requires the core Cake.Issues and Cake.Issues.Build addins and one or more issue providers.
1515

1616
See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts.
1717

1818
NOTE:
1919
This is the version of the addin compatible with Cake Script Runners.
20-
For addin compatible with Cake Frosting see Cake.Frosting.Issues.PullRequests.AppVeyor.
20+
For addin compatible with Cake Frosting see Cake.Frosting.Issues.Build.AppVeyor.
2121
</description>
2222
<license type="expression">MIT</license>
2323
<projectUrl>https://cakeissues.net</projectUrl>
2424
<icon>icon.png</icon>
2525
<requireLicenseAcceptance>false</requireLicenseAcceptance>
2626
<repository type="git" url="https://github.com/cake-contrib/Cake.Issues.git"/>
2727
<copyright>Copyright © Cake Issues contributors</copyright>
28-
<tags>cake cake-addin cake-issues cake-pullrequestsystem issues pullrequest buildserver appveyor</tags>
28+
<tags>cake cake-addin cake-issues cake-issues-buildserver issues buildserver appveyor</tags>
2929
<readme>docs\README.md</readme>
3030
<releaseNotes>https://github.com/cake-contrib/Cake.Issues/releases/tag/5.9.1</releaseNotes>
3131
<dependencies>
@@ -37,7 +37,7 @@ For addin compatible with Cake Frosting see Cake.Frosting.Issues.PullRequests.Ap
3737
</metadata>
3838
<files>
3939
<file src="icon.png" target="" />
40-
<file src="Cake.Issues.PullRequests.AppVeyor.md" target="docs\README.md" />
41-
<file src="..\..\src\Cake.Issues.PullRequests.AppVeyor\bin\Release\**\Cake.Issues.PullRequests.AppVeyor.*" target="lib" exclude="**\*.deps.json" />
40+
<file src="Cake.Issues.Build.AppVeyor.md" target="docs\README.md" />
41+
<file src="..\..\src\Cake.Issues.Build.AppVeyor\bin\Release\**\Cake.Issues.Build.AppVeyor.*" target="lib" exclude="**\*.deps.json" />
4242
</files>
4343
</package>

src/Cake.Issues.PullRequests.AppVeyor.Tests/AppVeyorPullRequestSystemTests.cs renamed to src/Cake.Issues.Build.AppVeyor.Tests/AppVeyorBuildServerSystemTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
namespace Cake.Issues.PullRequests.AppVeyor.Tests;
1+
namespace Cake.Issues.Build.AppVeyor.Tests;
22

33
using Cake.Core;
44

5-
public sealed class AppVeyorPullRequestSystemTests
5+
public sealed class AppVeyorBuildServerSystemTests
66
{
77
public sealed class TheCtor
88
{
@@ -14,7 +14,7 @@ public void Should_Throw_If_Context_Is_Null()
1414
var settings = new AppVeyorBuildSettings();
1515

1616
// When
17-
var result = Record.Exception(() => new AppVeyorPullRequestSystem(context, settings));
17+
var result = Record.Exception(() => new AppVeyorBuildServerSystem(context, settings));
1818

1919
// Then
2020
result.IsArgumentNullException("context");
@@ -29,7 +29,7 @@ public void Should_Throw_If_Settings_Are_Null()
2929
const AppVeyorBuildSettings settings = null;
3030

3131
// When
32-
var result = Record.Exception(() => new AppVeyorPullRequestSystem(context, settings));
32+
var result = Record.Exception(() => new AppVeyorBuildServerSystem(context, settings));
3333

3434
// Then
3535
result.IsArgumentNullException("settings");

src/Cake.Issues.PullRequests.AppVeyor.Tests/AppVeyorBuildSettingsTests.cs renamed to src/Cake.Issues.Build.AppVeyor.Tests/AppVeyorBuildSettingsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Cake.Issues.PullRequests.AppVeyor.Tests;
1+
namespace Cake.Issues.Build.AppVeyor.Tests;
22

33
using System.Diagnostics.CodeAnalysis;
44

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<Description>Tests for the Cake.Issues.Build.AppVeyor addin</Description>
4+
</PropertyGroup>
5+
6+
<ItemGroup>
7+
<PackageReference Include="NSubstitute" />
8+
</ItemGroup>
9+
10+
<ItemGroup>
11+
<ProjectReference Include="..\Cake.Issues.Build.AppVeyor\Cake.Issues.Build.AppVeyor.csproj" />
12+
</ItemGroup>
13+
</Project>

src/Cake.Issues.PullRequests.AppVeyor.Tests/CakeContextFixture.cs renamed to src/Cake.Issues.Build.AppVeyor.Tests/CakeContextFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Cake.Issues.PullRequests.AppVeyor.Tests;
1+
namespace Cake.Issues.Build.AppVeyor.Tests;
22

33
using Cake.Core;
44
using Cake.Core.Configuration;

src/Cake.Issues.PullRequests.AppVeyor.Tests/packages.lock.json renamed to src/Cake.Issues.Build.AppVeyor.Tests/packages.lock.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,18 @@
290290
"Cake.Core": "[5.0.0, )"
291291
}
292292
},
293-
"cake.issues.pullrequests": {
293+
"cake.issues.build": {
294294
"type": "Project",
295295
"dependencies": {
296296
"Cake.Issues": "[1.0.0, )",
297297
"Spectre.Console": "[0.50.0, )"
298298
}
299299
},
300-
"cake.issues.pullrequests.appveyor": {
300+
"cake.issues.build.appveyor": {
301301
"type": "Project",
302302
"dependencies": {
303303
"Cake.Common": "[5.0.0, )",
304-
"Cake.Issues.PullRequests": "[1.0.0, )"
304+
"Cake.Issues.Build": "[1.0.0, )"
305305
}
306306
},
307307
"cake.issues.testing": {
@@ -652,18 +652,18 @@
652652
"Cake.Core": "[5.0.0, )"
653653
}
654654
},
655-
"cake.issues.pullrequests": {
655+
"cake.issues.build": {
656656
"type": "Project",
657657
"dependencies": {
658658
"Cake.Issues": "[1.0.0, )",
659659
"Spectre.Console": "[0.50.0, )"
660660
}
661661
},
662-
"cake.issues.pullrequests.appveyor": {
662+
"cake.issues.build.appveyor": {
663663
"type": "Project",
664664
"dependencies": {
665665
"Cake.Common": "[5.0.0, )",
666-
"Cake.Issues.PullRequests": "[1.0.0, )"
666+
"Cake.Issues.Build": "[1.0.0, )"
667667
}
668668
},
669669
"cake.issues.testing": {

0 commit comments

Comments
 (0)