Skip to content

Commit

Permalink
[deps] Bump Cake.Frosting from 1.1.0 to 2.2.0 in /build (#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jul 13, 2022
1 parent 7384b46 commit 3f3466c
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Cake.Coverlet" Version="2.5.4" />
<PackageReference Include="Cake.Frosting" Version="1.1.0" />
<PackageReference Include="Cake.Frosting" Version="2.2.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions build/Tasks/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using Cake.Core;
using Cake.Frosting;

[Dependency(typeof(Restore))]
[Dependency(typeof(FormatCode))]
[IsDependentOn(typeof(Restore))]
[IsDependentOn(typeof(FormatCode))]
public class Build : FrostingTask<Context>
{
public override void Run(Context context)
Expand Down
4 changes: 2 additions & 2 deletions build/Tasks/ConventionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Cake.Common.Tools.DotNetCore;
using Cake.Frosting;

[Dependency(typeof(Build))]
[IsDependentOn(typeof(Build))]
public sealed class ConventionTests : FrostingTask<Context>
{
public override void Run(Context context)
Expand All @@ -14,4 +14,4 @@ public override void Run(Context context)
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
}
}
}
}
4 changes: 2 additions & 2 deletions build/Tasks/Default.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Cake.Frosting;

[Dependency(typeof(TestSourceLink))]
[IsDependentOn(typeof(TestSourceLink))]
public sealed class Default : FrostingTask<Context>
{
}
}
4 changes: 2 additions & 2 deletions build/Tasks/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Cake.Common.Tools.DotNetCore.Test;
using Cake.Frosting;

[Dependency(typeof(Build))]
[IsDependentOn(typeof(Build))]
public sealed class IntegrationTests : FrostingTask<Context>
{
public override void Run(Context context)
Expand All @@ -29,4 +29,4 @@ public override bool ShouldRun(Context context)

return areEnvironmentVariablesSet;
}
}
}
6 changes: 3 additions & 3 deletions build/Tasks/Package.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
using Cake.Core;
using Cake.Frosting;

[Dependency(typeof(UnitTests))]
[Dependency(typeof(ConventionTests))]
[Dependency(typeof(ValidateLINQPadSamples))]
[IsDependentOn(typeof(UnitTests))]
[IsDependentOn(typeof(ConventionTests))]
[IsDependentOn(typeof(ValidateLINQPadSamples))]
public sealed class Package : FrostingTask<Context>
{
public override void Run(Context context)
Expand Down
4 changes: 2 additions & 2 deletions build/Tasks/Restore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Cake.Core;
using Cake.Frosting;

[Dependency(typeof(Clean))]
[IsDependentOn(typeof(Clean))]
public sealed class Restore : FrostingTask<Context>
{
public override void Run(Context context)
Expand All @@ -14,4 +14,4 @@ public override void Run(Context context)
.Append("/p:Version={0}", context.Version.GetSemanticVersion())
});
}
}
}
4 changes: 2 additions & 2 deletions build/Tasks/TestSourceLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Cake.Core.IO;
using Cake.Frosting;

[Dependency(typeof(Package))]
[IsDependentOn(typeof(Package))]
public class TestSourceLink : FrostingTask<Context>
{
public override void Run(Context context)
Expand All @@ -33,4 +33,4 @@ public override bool ShouldRun(Context context)
{
return context.LinkSources;
}
}
}
4 changes: 2 additions & 2 deletions build/Tasks/UnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Cake.Common.Tools.DotNetCore;
using Cake.Frosting;

[Dependency(typeof(Build))]
[IsDependentOn(typeof(Build))]
public sealed class UnitTests : FrostingTask<Context>
{
public override void Run(Context context)
Expand All @@ -14,4 +14,4 @@ public override void Run(Context context)
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
}
}
}
}
4 changes: 2 additions & 2 deletions build/Tasks/ValidateLINQPadSamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Cake.Core.IO;
using Cake.Frosting;

[Dependency(typeof(Build))]
[IsDependentOn(typeof(Build))]
public sealed class ValidateLINQPadSamples : FrostingTask<Context>
{
public override void Run(Context context)
Expand Down Expand Up @@ -109,4 +109,4 @@ private static string RewriteLinqpadScriptToUseLocalAssemblies(string directory,

return tempFilePath;
}
}
}

0 comments on commit 3f3466c

Please sign in to comment.