namespace Build.Tools; /// /// What an external tool wrote, and how it ended. /// /// /// The text alone cannot tell whether a tool failed: a build may stop on a diagnostic which no filter /// recognizes, or without writing any at all. Only the exit code answers that question reliably. /// /// Everything the tool wrote to its standard output and its standard error, line by line. /// The exit code of the tool, where anything but zero is a failure. public readonly record struct CommandOutput(string Text, int ExitCode);