Skip to content

Commit

Permalink
Update to Cake 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed May 5, 2024
1 parent 4120574 commit ac50c78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cake.Wyam.Recipe/Content/addins.cake
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// ADDINS
///////////////////////////////////////////////////////////////////////////////

#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
#addin nuget:?package=Cake.Git&version=3.0.0
#addin nuget:?package=Cake.Kudu&version=3.0.0
#addin nuget:?package=Cake.Wyam&version=2.2.14
#addin nuget:?package=Cake.Http&version=3.0.2

Action<string, IDictionary<string, string>> RequireAddin = (code, envVars) => {
var script = MakeAbsolute(File(string.Format("./{0}.cake", Guid.NewGuid())));
Expand Down
7 changes: 3 additions & 4 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ Task("Generate-Version-File")
// Write metadata to configuration file
System.IO.File.WriteAllText(
"./Cake.Wyam.Recipe/cake-version.yml",
@"TargetCakeVersion: 2.0.0
@"TargetCakeVersion: 3.0.0
TargetFrameworks:
- netcoreapp3.1
- net5.0
- net6.0"
- net6.0
- net7.0"
);

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

0 comments on commit ac50c78

Please sign in to comment.