Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Cake 3.x #78

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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