Skip to content

Commit 3f3466c

Browse files
[deps] Bump Cake.Frosting from 1.1.0 to 2.2.0 in /build (#2437)
1 parent 7384b46 commit 3f3466c

10 files changed

Lines changed: 20 additions & 20 deletions

build/Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Cake.Coverlet" Version="2.5.4" />
11-
<PackageReference Include="Cake.Frosting" Version="1.1.0" />
11+
<PackageReference Include="Cake.Frosting" Version="2.2.0" />
1212
</ItemGroup>
1313

1414
</Project>

build/Tasks/Build.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
using Cake.Core;
44
using Cake.Frosting;
55

6-
[Dependency(typeof(Restore))]
7-
[Dependency(typeof(FormatCode))]
6+
[IsDependentOn(typeof(Restore))]
7+
[IsDependentOn(typeof(FormatCode))]
88
public class Build : FrostingTask<Context>
99
{
1010
public override void Run(Context context)

build/Tasks/ConventionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Cake.Common.Tools.DotNetCore;
44
using Cake.Frosting;
55

6-
[Dependency(typeof(Build))]
6+
[IsDependentOn(typeof(Build))]
77
public sealed class ConventionTests : FrostingTask<Context>
88
{
99
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
1414
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
1515
}
1616
}
17-
}
17+
}

build/Tasks/Default.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Cake.Frosting;
22

3-
[Dependency(typeof(TestSourceLink))]
3+
[IsDependentOn(typeof(TestSourceLink))]
44
public sealed class Default : FrostingTask<Context>
55
{
6-
}
6+
}

build/Tasks/IntegrationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using Cake.Common.Tools.DotNetCore.Test;
55
using Cake.Frosting;
66

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

3030
return areEnvironmentVariablesSet;
3131
}
32-
}
32+
}

build/Tasks/Package.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
using Cake.Core;
55
using Cake.Frosting;
66

7-
[Dependency(typeof(UnitTests))]
8-
[Dependency(typeof(ConventionTests))]
9-
[Dependency(typeof(ValidateLINQPadSamples))]
7+
[IsDependentOn(typeof(UnitTests))]
8+
[IsDependentOn(typeof(ConventionTests))]
9+
[IsDependentOn(typeof(ValidateLINQPadSamples))]
1010
public sealed class Package : FrostingTask<Context>
1111
{
1212
public override void Run(Context context)

build/Tasks/Restore.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Cake.Core;
44
using Cake.Frosting;
55

6-
[Dependency(typeof(Clean))]
6+
[IsDependentOn(typeof(Clean))]
77
public sealed class Restore : FrostingTask<Context>
88
{
99
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
1414
.Append("/p:Version={0}", context.Version.GetSemanticVersion())
1515
});
1616
}
17-
}
17+
}

build/Tasks/TestSourceLink.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Cake.Core.IO;
77
using Cake.Frosting;
88

9-
[Dependency(typeof(Package))]
9+
[IsDependentOn(typeof(Package))]
1010
public class TestSourceLink : FrostingTask<Context>
1111
{
1212
public override void Run(Context context)
@@ -33,4 +33,4 @@ public override bool ShouldRun(Context context)
3333
{
3434
return context.LinkSources;
3535
}
36-
}
36+
}

build/Tasks/UnitTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Cake.Common.Tools.DotNetCore;
44
using Cake.Frosting;
55

6-
[Dependency(typeof(Build))]
6+
[IsDependentOn(typeof(Build))]
77
public sealed class UnitTests : FrostingTask<Context>
88
{
99
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
1414
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
1515
}
1616
}
17-
}
17+
}

build/Tasks/ValidateLINQPadSamples.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Cake.Core.IO;
99
using Cake.Frosting;
1010

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

110110
return tempFilePath;
111111
}
112-
}
112+
}

0 commit comments

Comments
 (0)