mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Update CI
This commit is contained in:
1 file changed
+8
-2
+8
-2
@@ -117,9 +117,9 @@ public sealed class CleanTask : FrostingTask<BuildContext>
|
||||
[IsDependentOn(typeof(GenerateProxyAssemblyTask))]
|
||||
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",
|
||||
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))]
|
||||
|
||||
Reference in new issue
Block a user