Add artwork to the test search paths

This commit is contained in:
Caelan Sayler
2024-03-29 12:19:34 +00:00
parent bb02fe2b2f
commit 606ea6e46d
2 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ public static class PathHelper
public static string GetVendorLibDir()
=> Path.Combine(GetProjectDir(), "vendor");
public static string GetArtworkDir()
=> Path.Combine(GetProjectDir(), "artwork");
public static string GetFixture(params string[] names)
=> Path.Combine(new string[] { GetTestRoot(), "fixtures" }.Concat(names).ToArray());

View File

@@ -11,5 +11,6 @@ public class TestsInit : XunitTestFramework
{
HelperFile.AddSearchPath(PathHelper.GetRustBuildOutputDir());
HelperFile.AddSearchPath(PathHelper.GetVendorLibDir());
HelperFile.AddSearchPath(PathHelper.GetArtworkDir());
}
}