From 0426b06d994e10d426c233ad6e7e1a98981e94c7 Mon Sep 17 00:00:00 2001 From: Paul Milbank <37281769+paulmilbank@users.noreply.github.com> Date: Sat, 28 May 2022 11:27:20 +1200 Subject: [PATCH] Update Cake.DoInDirectory add-in to target Cake v2.0.0 (#23) * Update Cake.Core reference to 2.0 * Update build targets to net5.0, net6.0, netcoreapp3.1 * Update Cake tool to 2.2.0 * Update test script to use net6.0 dll Co-authored-by: C. Augusto Proiete --- .config/dotnet-tools.json | 2 +- Cake.DoInDirectory/Cake.DoInDirectory.csproj | 6 +++--- test.cake | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 6cf141e..7bd5f9f 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "1.1.0", + "version": "2.2.0", "commands": [ "dotnet-cake" ] diff --git a/Cake.DoInDirectory/Cake.DoInDirectory.csproj b/Cake.DoInDirectory/Cake.DoInDirectory.csproj index d843e02..1fe2f8a 100644 --- a/Cake.DoInDirectory/Cake.DoInDirectory.csproj +++ b/Cake.DoInDirectory/Cake.DoInDirectory.csproj @@ -1,7 +1,7 @@ - + - netstandard2.0 + net6.0;net5.0;netcoreapp3.1 true @@ -23,7 +23,7 @@ - + diff --git a/test.cake b/test.cake index 7e37371..6c533ba 100644 --- a/test.cake +++ b/test.cake @@ -1,4 +1,4 @@ -#reference "Cake.DoInDirectory/bin/Release/netstandard2.0/Cake.DoInDirectory.dll" +#reference "Cake.DoInDirectory/bin/Release/net6.0/Cake.DoInDirectory.dll" Setup((ctx) => {