From e773d263494471f063bf5daa62fd9b4376fb0df7 Mon Sep 17 00:00:00 2001 From: Geoff Stockham Date: Mon, 1 Mar 2021 11:50:42 +0000 Subject: [PATCH] Cake 1.0.0 updates (#24) * Update GlobbingFiles bicep reference * Update cake.npm reference to 1.0.0 * Update cake.incubator to v6.0.0 * Update DotnetCoreTestSettings Loggers to remove obsolete reference to Logger --- .cake/Build-Bicep.cake | 2 +- .cake/Configuration.cake | 2 +- .cake/Npm-RunScript.cake | 2 +- .cake/Test-DotNetCore.cake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cake/Build-Bicep.cake b/.cake/Build-Bicep.cake index 4a0389e..b602c11 100644 --- a/.cake/Build-Bicep.cake +++ b/.cake/Build-Bicep.cake @@ -13,7 +13,7 @@ public partial class Configuration { { var files = bicepFilePattern .ToList() - .SelectMany(context.GetFiles) + .SelectMany(x => context.GetFiles(x)) .ToArray(); this.TaskParameters.Add("Bicep:Files", files); diff --git a/.cake/Configuration.cake b/.cake/Configuration.cake index 6608b24..e4160e1 100644 --- a/.cake/Configuration.cake +++ b/.cake/Configuration.cake @@ -1,4 +1,4 @@ -#addin "Cake.Incubator&version=5.0.1" +#addin "Cake.Incubator&version=6.0.0" #load "Configuration-Version.cake" const string _solutionFilePathPattern = "*.sln"; diff --git a/.cake/Npm-RunScript.cake b/.cake/Npm-RunScript.cake index 2a7af32..79e22de 100644 --- a/.cake/Npm-RunScript.cake +++ b/.cake/Npm-RunScript.cake @@ -1,4 +1,4 @@ -#addin "nuget:?package=Cake.Npm&version=0.17.0" +#addin "nuget:?package=Cake.Npm&version=1.0.0" public partial class Configuration { diff --git a/.cake/Test-DotNetCore.cake b/.cake/Test-DotNetCore.cake index f39bdff..0f9a3aa 100644 --- a/.cake/Test-DotNetCore.cake +++ b/.cake/Test-DotNetCore.cake @@ -17,7 +17,7 @@ Task("Test:DotNetCore") { var settings = new DotNetCoreTestSettings() { Configuration = config.Solution.BuildConfiguration, - Logger = $"trx;LogFileName={testResultsXml}", + Loggers = new [] { $"trx;LogFileName={testResultsXml}" }, NoBuild = true, NoRestore = true };