1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 18:30:21 +08:00

silent the test for mono

This commit is contained in:
miterosan
2018-08-06 23:46:08 +02:00
Unverified
parent de6c25c052
commit 8ed8efd06d
+6 -1
View File
@@ -62,7 +62,12 @@ Task("InspectCode")
void RunInpectCodeInMono(FilePath nugetToolPath, FilePath nVikaToolPath) {
var inspectcodeToolPath = GetFiles("./tools/NuGet.CommandLine.*/tools/NuGet.exe").First();
if (StartProcess("mono", "--version") != 0) {
var testMonoArguments = new ProcessArgumentBuilder();
testMonoArguments.AppendSwitch("version", "");
if (StartProcess("mono", new ProcessSettings {
Silent = true, Arguments = testMonoArguments }
) != 0) {
Information("Running on an os other than windows and mono is not installed. Skipping InpectCode.");
return;
}