Skip to content

Commit

Permalink
(maintenance) Upgraded Cake to v0.33.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RLittlesII committed Apr 30, 2019
1 parent 4ff678e commit 675d7c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Cake.Fastlane.Tests/Cake.Fastlane.Tests.csproj
Expand Up @@ -10,8 +10,8 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="NSubstitute" Version="4.0.0" />
<PackageReference Include="Cake.Core" Version="0.32.1" />
<PackageReference Include="Cake.Testing" Version="0.32.1" />
<PackageReference Include="Cake.Core" Version="0.33.0" />
<PackageReference Include="Cake.Testing" Version="0.33.0" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.0-beta2-build3683" />
</ItemGroup>
<!-- Define .NET Core constants -->
Expand Down
5 changes: 4 additions & 1 deletion src/Cake.Fastlane.Tests/CakeContextFixture.cs
@@ -1,4 +1,5 @@
using Cake.Core;
using Cake.Core.Configuration;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
Expand All @@ -18,6 +19,7 @@ public sealed class CakeContextFixture
public IProcessRunner ProcessRunner { get; set; }
public IRegistry Registry { get; set; }
public IToolLocator Tools { get; set; }
public ICakeConfiguration Configuration { get; set; }

public CakeContextFixture()
{
Expand All @@ -30,14 +32,15 @@ public CakeContextFixture()
Registry = Substitute.For<IRegistry>();
Tools = Substitute.For<IToolLocator>();
DataService = Substitute.For<ICakeDataService>();
Configuration = Substitute.For<ICakeConfiguration>();
}

public CakeContext CreateContext(PlatformFamily platform)
{
Environment.Platform.Family.Returns(platform);

return new CakeContext(FileSystem, Environment, Globber,
Log, Arguments, ProcessRunner, Registry, Tools, DataService);
Log, Arguments, ProcessRunner, Registry, Tools, DataService, Configuration);
}
}
}
4 changes: 2 additions & 2 deletions src/Cake.Fastlane/Cake.Fastlane.csproj
Expand Up @@ -27,7 +27,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cake.Common" Version="0.32.1" />
<PackageReference Include="Cake.Core" Version="0.32.1" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="0.33.0" />
<PackageReference Include="Cake.Core" Version="0.33.0" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit 675d7c8

Please sign in to comment.