You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Print MSBuild command if also printing output
This commit is contained in:
@@ -92,6 +92,9 @@ namespace GodotSharpTools.Build
|
|||||||
|
|
||||||
bool redirectOutput = !IsDebugMSBuildRequested() && !PrintBuildOutput;
|
bool redirectOutput = !IsDebugMSBuildRequested() && !PrintBuildOutput;
|
||||||
|
|
||||||
|
if (!redirectOutput) // TODO: or if stdout verbose
|
||||||
|
Console.WriteLine($"Running: \"{startInfo.FileName}\" {startInfo.Arguments}");
|
||||||
|
|
||||||
startInfo.RedirectStandardOutput = redirectOutput;
|
startInfo.RedirectStandardOutput = redirectOutput;
|
||||||
startInfo.RedirectStandardError = redirectOutput;
|
startInfo.RedirectStandardError = redirectOutput;
|
||||||
startInfo.UseShellExecute = false;
|
startInfo.UseShellExecute = false;
|
||||||
@@ -145,6 +148,9 @@ namespace GodotSharpTools.Build
|
|||||||
|
|
||||||
bool redirectOutput = !IsDebugMSBuildRequested() && !PrintBuildOutput;
|
bool redirectOutput = !IsDebugMSBuildRequested() && !PrintBuildOutput;
|
||||||
|
|
||||||
|
if (!redirectOutput) // TODO: or if stdout verbose
|
||||||
|
Console.WriteLine($"Running: \"{startInfo.FileName}\" {startInfo.Arguments}");
|
||||||
|
|
||||||
startInfo.RedirectStandardOutput = redirectOutput;
|
startInfo.RedirectStandardOutput = redirectOutput;
|
||||||
startInfo.RedirectStandardError = redirectOutput;
|
startInfo.RedirectStandardError = redirectOutput;
|
||||||
startInfo.UseShellExecute = false;
|
startInfo.UseShellExecute = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user