Skip to content

Commit

Permalink
Cake 1.0.0 updates (#24)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
gjstockham authored Mar 1, 2021
1 parent a6b437e commit e773d26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cake/Build-Bicep.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion .cake/Configuration.cake
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion .cake/Npm-RunScript.cake
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion .cake/Test-DotNetCore.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit e773d26

Please sign in to comment.