mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
16 lines
406 B
C#
16 lines
406 B
C#
using Nuke.Common.Tooling;
|
|
using System.ComponentModel;
|
|
|
|
namespace MaaBuilder;
|
|
|
|
[TypeConverter(typeof(TypeConverter<BuildConfiguration>))]
|
|
public class BuildConfiguration : Enumeration
|
|
{
|
|
public static readonly BuildConfiguration Release = new() { Value = nameof(Release) };
|
|
|
|
public static implicit operator string(BuildConfiguration configuration)
|
|
{
|
|
return configuration.Value;
|
|
}
|
|
}
|