Update CI

This commit is contained in:
js6pak committed 2021-01-03 19:58:52 +01:00
1 parent d6eeec0669
commit 8572220b4e
1 file changed
+8 -2
+8 -2
View File
@@ -117,9 +117,9 @@ public sealed class CleanTask : FrostingTask<BuildContext>
[IsDependentOn(typeof(GenerateProxyAssemblyTask))] [IsDependentOn(typeof(GenerateProxyAssemblyTask))]
public sealed class BuildTask : FrostingTask<BuildContext> public sealed class BuildTask : FrostingTask<BuildContext>
{ {
public override void Run(BuildContext context) private void Build(BuildContext context, string project)
{ {
context.DotNetCoreBuild("./Reactor.sln", new DotNetCoreBuildSettings context.DotNetCoreBuild(project, new DotNetCoreBuildSettings
{ {
Configuration = "Release", Configuration = "Release",
EnvironmentVariables = EnvironmentVariables =
@@ -128,6 +128,12 @@ public sealed class BuildTask : FrostingTask<BuildContext>
} }
}); });
} }
public override void Run(BuildContext context)
{
Build(context, "Reactor/Reactor.csproj");
Build(context, "Reactor.Debugger/Reactor.Debugger.csproj");
}
} }
[IsDependentOn(typeof(BuildTask))] [IsDependentOn(typeof(BuildTask))]