Files
2026-07-13 12:38:36 +08:00

48 lines
1.4 KiB
C#

namespace MsbuildAnalyzer.Models;
/// <summary>
/// Plugin options passed from the Nx plugin to control target generation.
/// </summary>
public class PluginOptions
{
/// <summary>
/// The name of the build target. Defaults to "build".
/// </summary>
public string BuildTargetName { get; set; } = "build";
/// <summary>
/// The name of the test target. Defaults to "test".
/// </summary>
public string TestTargetName { get; set; } = "test";
/// <summary>
/// The name of the clean target. Defaults to "clean".
/// </summary>
public string CleanTargetName { get; set; } = "clean";
/// <summary>
/// The name of the restore target. Defaults to "restore".
/// </summary>
public string RestoreTargetName { get; set; } = "restore";
/// <summary>
/// The name of the publish target. Defaults to "publish".
/// </summary>
public string PublishTargetName { get; set; } = "publish";
/// <summary>
/// The name of the pack target. Defaults to "pack".
/// </summary>
public string PackTargetName { get; set; } = "pack";
/// <summary>
/// The name of the watch target. Defaults to "watch".
/// </summary>
public string WatchTargetName { get; set; } = "watch";
/// <summary>
/// The name of the run target. Defaults to "run".
/// </summary>
public string RunTargetName { get; set; } = "run";
}