Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Cake.Frosting from 1.1.0 to 2.2.0 in /build #2437

Merged
merged 2 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}
}