v4 first test, will fail due to new validation step

This commit is contained in:
LotP1
2024-12-26 22:54:22 +01:00
parent a317184594
commit bad1f72918
3 changed files with 44 additions and 15 deletions

View File

@@ -23,11 +23,12 @@ namespace Ryujinx.BuildValidationTasks
throw new ArgumentException("Error: path is null or empty!");
if (!Path.Exists(args[0]))
throw new ArgumentException("Error: path does not exist!");
throw new ArgumentException($"path {{{args[0]}}} does not exist!");
Console.WriteLine(args[0]);
Console.WriteLine(Path.GetFullPath(args[0]));
LocalesValidationTask.Execute(args[0]);
if (!Directory.GetDirectories(Path.GetFullPath(args[0])).Contains($"{Path.GetFullPath(args[0])}src"))
throw new ArgumentException($"path {{{args[0]}}} is not a valid ryujinx project!");
LocalesValidationTask.Execute(Path.GetFullPath(args[0]));
}
}
}