Skip to content

Commit cef7d57

Browse files
committed
Merge branch 'release/0.2.0'
2 parents 4d9f2cd + 98a89b0 commit cef7d57

File tree

12 files changed

+27
-120
lines changed

12 files changed

+27
-120
lines changed

ReleaseNotes.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@
2323

2424
# 0.1.5
2525

26-
- Supports Cake 0.22.2
26+
- Supports Cake 0.22.2
27+
28+
# 0.2.0
29+
30+
- Supports Cake 0.24.0
31+
- Updated to use new logging implementation

src/Cake.Module.Shared/Cake.Module.Shared.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Cake.Core" Version="0.22.2" />
19-
<PackageReference Include="Cake.Common" Version="0.22.2" />
18+
<PackageReference Include="Cake.Core" Version="0.24.0" />
19+
<PackageReference Include="Cake.Common" Version="0.24.0" />
2020
</ItemGroup>
2121

2222
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">

src/Cake.Module.Shared/CakeBuildLog/CakeBuildLog.cs

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/Cake.Module.Shared/CakeEngineBase.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.Threading.Tasks;
34
using Cake.Core;
45

56
namespace Cake.Module.Shared
@@ -40,15 +41,17 @@ public void RegisterTeardownAction(Action<ITeardownContext> action)
4041
}
4142

4243
/// <summary>
43-
/// Runs the specified target using the specified <see cref="T:Cake.Core.IExecutionStrategy" />.
44+
/// Runs the specified target using the specified <see cref="T:Cake.Core.IExecutionStrategy" />.
4445
/// </summary>
4546
/// <param name="context">The context.</param>
4647
/// <param name="strategy">The execution strategy.</param>
4748
/// <param name="target">The target to run.</param>
48-
/// <returns>The resulting report.</returns>
49-
public CakeReport RunTarget(ICakeContext context, IExecutionStrategy strategy, string target)
49+
/// <returns>
50+
/// The resulting report.
51+
/// </returns>
52+
public Task<CakeReport> RunTargetAsync(ICakeContext context, IExecutionStrategy strategy, string target)
5053
{
51-
return _engine.RunTarget(context, strategy, target);
54+
return _engine.RunTargetAsync(context, strategy, target);
5255
}
5356

5457
/// <summary>

src/Cake.MyGet.Module/Cake.MyGet.Module.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Cake.Core" Version="0.22.2" />
17-
<PackageReference Include="Cake.Common" Version="0.22.2" />
16+
<PackageReference Include="Cake.Core" Version="0.24.0" />
17+
<PackageReference Include="Cake.Common" Version="0.24.0" />
1818
</ItemGroup>
1919

2020
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">

src/Cake.MyGet.Module/MyGetBuildLog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Cake.Core.Configuration;
44
using Cake.Core.Diagnostics;
55
using Cake.Module.Shared;
6-
using CakeBuildLog = Cake.Module.Shared.CakeBuildLog;
6+
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
77

88
namespace Cake.MyGet.Module
99
{

src/Cake.TFBuild.Module/Cake.TFBuild.Module.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Cake.Core" Version="0.22.2" />
17-
<PackageReference Include="Cake.Common" Version="0.22.2" />
16+
<PackageReference Include="Cake.Core" Version="0.24.0" />
17+
<PackageReference Include="Cake.Common" Version="0.24.0" />
1818
</ItemGroup>
1919

2020
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">

src/Cake.TFBuild.Module/TFBuildLog.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
using Cake.Core;
55
using Cake.Core.Diagnostics;
66
using Cake.Module.Shared;
7-
using CakeBuildLog = Cake.Module.Shared.CakeBuildLog;
87

98
namespace Cake.TFBuild.Module
109
{
1110
public class TFBuildLog : ICakeLog
1211
{
1312
public TFBuildLog(IConsole console, Verbosity verbosity = Verbosity.Normal)
1413
{
15-
_cakeLogImplementation = new CakeBuildLog(console, verbosity);
14+
_cakeLogImplementation = new Core.Diagnostics.CakeBuildLog(console, verbosity);
1615
}
1716
private readonly ICakeLog _cakeLogImplementation;
1817

src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="Cake.Core" Version="0.22.2" />
24-
<PackageReference Include="Cake.Common" Version="0.22.2" />
23+
<PackageReference Include="Cake.Core" Version="0.24.0" />
24+
<PackageReference Include="Cake.Common" Version="0.24.0" />
2525
</ItemGroup>
2626

2727
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">

src/Cake.TeamCity.Module/TeamCityLog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Cake.Core;
33
using Cake.Core.Diagnostics;
44
using Cake.Module.Shared;
5-
using CakeBuildLog = Cake.Module.Shared.CakeBuildLog;
5+
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
66

77
namespace Cake.TeamCity.Module
88
{

0 commit comments

Comments
 (0)