Skip to content

Commit

Permalink
Merge branch 'release/2.0.0'
Browse files Browse the repository at this point in the history
* release/2.0.0:
  Replace Cake.Figlet with Spectre.Console
  Update to Cake 2.x
  • Loading branch information
gep13 committed Jul 25, 2023
2 parents cd04c3c + 6ee8b2a commit a2bd6da
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
9 changes: 4 additions & 5 deletions Cake.Wyam.Recipe/Content/addins.cake
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
// ADDINS
///////////////////////////////////////////////////////////////////////////////

#addin nuget:?package=Cake.Figlet&version=2.0.1
#addin nuget:?package=Cake.Git&version=1.1.0
#addin nuget:?package=Cake.Kudu&version=1.0.1
#addin nuget:?package=Cake.Wyam&version=2.2.10
#addin nuget:?package=Cake.Http&version=1.3.0
#addin nuget:?package=Cake.Git&version=2.0.0
#addin nuget:?package=Cake.Kudu&version=2.0.0
#addin nuget:?package=Cake.Wyam&version=2.2.13
#addin nuget:?package=Cake.Http&version=2.0.0

Action<string, IDictionary<string, string>> RequireAddin = (code, envVars) => {
var script = MakeAbsolute(File(string.Format("./{0}.cake", Guid.NewGuid())));
Expand Down
2 changes: 1 addition & 1 deletion Cake.Wyam.Recipe/Content/appveyor.cake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BuildParameters.Tasks.PrintAppVeyorEnvironmentVariablesTask = Task("Print-AppVey
BuildParameters.Tasks.ClearAppVeyorCacheTask = Task("Clear-AppVeyor-Cache")
.Does(() =>
RequireAddin("#addin nuget:?package=Refit&version=4.6.58" + System.Environment.NewLine +
"#addin nuget:?package=Cake.AppVeyor&version=5.0.1" + System.Environment.NewLine +
"#addin nuget:?package=Cake.AppVeyor&version=6.0.0" + System.Environment.NewLine +
@"AppVeyorClearCache(
new AppVeyorSettings() { ApiToken = EnvironmentVariable(""TEMP_APPVEYOR_TOKEN"") },
EnvironmentVariable(""TEMP_APPVEYOR_ACCOUNT_NAME""),
Expand Down
3 changes: 2 additions & 1 deletion Cake.Wyam.Recipe/Content/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ var publishingError = false;

Setup(context =>
{
Information(Figlet(BuildParameters.Title));
Spectre.Console.AnsiConsole.Write(
new Spectre.Console.FigletText(BuildParameters.Title));

Information("Starting Setup...");

Expand Down
1 change: 0 additions & 1 deletion Cake.Wyam.Recipe/Content/modules.cake

This file was deleted.

9 changes: 3 additions & 6 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ Task("Generate-Version-File")
// Write metadata to configuration file
System.IO.File.WriteAllText(
"./Cake.Wyam.Recipe/cake-version.yml",
@"TargetCakeVersion: 1.0.0
@"TargetCakeVersion: 2.0.0
TargetFrameworks:
- net461
- netcoreapp2.0
- netcoreapp2.1
- netcoreapp3.0
- netcoreapp3.1
- net5.0"
- net5.0
- net6.0"
);

// Write metadata to class for use when running a build
Expand Down

0 comments on commit a2bd6da

Please sign in to comment.