mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Add artwork to the test search paths
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
@@ -11,5 +11,6 @@ public class TestsInit : XunitTestFramework
|
||||
{
|
||||
HelperFile.AddSearchPath(PathHelper.GetRustBuildOutputDir());
|
||||
HelperFile.AddSearchPath(PathHelper.GetVendorLibDir());
|
||||
HelperFile.AddSearchPath(PathHelper.GetArtworkDir());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user