Skip to content

Commit

Permalink
Merge pull request #26 from gitfool/bump-cake
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
Redth authored Jul 31, 2019
2 parents 2f02424 + b9736f3 commit a12c559
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ bin/
obj/
packages/
Components/
tools/
tools/**
!tools/packages.config
nupkg/
*.userprefs
*.suo
Expand Down
Binary file removed icon.png
Binary file not shown.
45 changes: 23 additions & 22 deletions src/Cake.Xamarin.Tests/Cake.Xamarin.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Compile Remove="TestProjects\**" />
<EmbeddedResource Remove="TestProjects\**" />
<None Remove="TestProjects\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.26.1" />
<PackageReference Include="Cake.Testing" Version="0.26.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="Cake.Common" Version="0.26.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Cake.Xamarin\Cake.Xamarin.csproj" />
</ItemGroup>

</Project>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Common" Version="0.33.0" />
<PackageReference Include="Cake.Core" Version="0.33.0" />
<PackageReference Include="Cake.Testing" Version="0.33.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="NSubstitute" Version="4.0.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Cake.Xamarin\Cake.Xamarin.csproj" />
</ItemGroup>

</Project>
11 changes: 6 additions & 5 deletions src/Cake.Xamarin.Tests/Fakes/FakeCakeContext.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using Cake.Core.IO;
using Cake.Core;
using System.Collections.Generic;
using Cake.Core.IO;
using Cake.Core.Tooling;
using Cake.Testing;
using NSubstitute;

namespace Cake.Xamarin.Fakes
{
Expand All @@ -22,13 +22,14 @@ public FakeCakeContext()
var environment = new CakeEnvironment(new CakePlatform(), new CakeRuntime(), log);
var globber = new Globber(fileSystem, environment);
var args = new FakeCakeArguments();
var processRunner = new ProcessRunner(environment, log);
var registry = new WindowsRegistry();
var toolRepo = new ToolRepository(environment);
var config = new Core.Configuration.CakeConfigurationProvider(fileSystem, environment).CreateConfiguration(testsDir, new Dictionary<string, string>());
var config = new FakeConfiguration();
var toolResolutionStrategy = new ToolResolutionStrategy(fileSystem, environment, globber, config);
var toolLocator = new ToolLocator(environment, toolRepo, toolResolutionStrategy);
context = new CakeContext(fileSystem, environment, globber, log, args, processRunner, registry, toolLocator);
var processRunner = new ProcessRunner(fileSystem, environment, log, toolLocator, config);
var data = Substitute.For<ICakeDataService>();
context = new CakeContext(fileSystem, environment, globber, log, args, processRunner, registry, toolLocator, data, config);
context.Environment.WorkingDirectory = testsDir;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Xamarin/Aliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static FilePath BuildAndroidApk(this ICakeContext context, FilePath proje
/// <param name="context">The context.</param>
/// <param name="projectFile">The .CSPROJ file to build from.</param>
/// <param name="configuration">The MSBuild /p:Configuration to use (default is Release).</param>
/// <param name="configuration">The MSBuild /p:Platform to build with configuration to use (default is iPhone).</param>
/// <param name="platform">The MSBuild /p:Platform to build with configuration to use (default is iPhone).</param>
/// <param name="settings">The MSBuild settings.</param>
[CakeMethodAlias]
public static FilePath BuildiOSIpa(this ICakeContext context, FilePath projectFile, string configuration = "Release", string platform = "iPhone", Action<MSBuildSettings> settings = null)
Expand Down
11 changes: 4 additions & 7 deletions src/Cake.Xamarin/Cake.Xamarin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@
<Authors>Redth</Authors>
<Owners>Redth</Owners>
<PackageProjectUrl>https://github.com/redth/Cake.Xamarin</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/redth/Cake.Xamarin/master/icon.png</PackageIconUrl>
<PackageIconUrl>https://cdn.jsdelivr.net/gh/cake-contrib/graphics/png/cake-contrib-medium.png</PackageIconUrl>
<PackageLicenseUrl>https://raw.githubusercontent.com/redth/Cake.Xamarin/master/LICENSE.md</PackageLicenseUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.26.1" />
<PackageReference Include="Cake.Common" Version="0.26.1" />
</ItemGroup>

<ItemGroup>
<Compile Remove="Util.cs" />
<PackageReference Include="Cake.Core" Version="0.33.0" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="0.33.0" PrivateAssets="All" />
</ItemGroup>

</Project>
4 changes: 4 additions & 0 deletions tools/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake" version="0.32.1" />
</packages>

0 comments on commit a12c559

Please sign in to comment.