-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Mimic the style of the RSG/Nuke repo's .build - Regenerated GH actions - Left in the tweak around NuGet caching, the matrix of artifacts, and NuGet publishing
- Loading branch information
Showing
14 changed files
with
626 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
using System.ComponentModel; | ||
using Nuke.Common.Tooling; | ||
|
||
namespace Build; | ||
#pragma warning disable CA1050, CA1724, CA2225 | ||
|
||
[TypeConverter(typeof(TypeConverter<Configuration>))] | ||
public class Configuration : Enumeration | ||
{ | ||
public static Configuration Debug = new() { Value = nameof(Debug) }; | ||
public static Configuration Release = new() { Value = nameof(Release) }; | ||
public static readonly Configuration Debug = new() { Value = nameof(Debug) }; | ||
public static readonly Configuration Release = new() { Value = nameof(Release) }; | ||
|
||
public static implicit operator string(Configuration configuration) => configuration.Value; | ||
} |
Oops, something went wrong.