refactor: _build to build
All checks were successful
Test if Server can be built / build-server (push) Successful in 23s

This commit is contained in:
Timothy Schenk 2023-10-12 08:35:36 +02:00
parent 2a1dec45d8
commit 2198d3992a
5 changed files with 5 additions and 10 deletions

View file

@ -1,9 +1,4 @@
namespace Benchmarks;
using System.Reflection;
using System.Reflection;
using BenchmarkDotNet.Running;
internal class Program
{
public static void Main(string[] args) => BenchmarkRunner.Run(Assembly.GetExecutingAssembly());
}
BenchmarkRunner.Run(Assembly.GetExecutingAssembly());

View file

@ -4,7 +4,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmarks", "Benchmarks\Benchmarks.csproj", "{7D560FA1-A61C-4B67-8300-835CA5814621}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{046A3B46-FC08-4B08-A52A-1DC5D426120D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "build", "build\build.csproj", "{046A3B46-FC08-4B08-A52A-1DC5D426120D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C1303691-99F6-41CE-BAD3-2CA112D75DBF}"
ProjectSection(SolutionItems) = preProject

View file

@ -6,8 +6,8 @@ using Nuke.Common.Tooling;
[TypeConverter(typeof(TypeConverter<Configuration>))]
public class Configuration : Enumeration
{
public static Configuration Debug = new Configuration { Value = nameof(Debug) };
public static Configuration Release = new Configuration { Value = nameof(Release) };
public static Configuration Debug { get; } = new() { Value = nameof(Debug) };
public static Configuration Release { get; } = new() { Value = nameof(Release) };
public static implicit operator string(Configuration configuration)
{