examples: workaround change in @embedFile not working with relative paths

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-20 22:48:19 -07:00
parent 37c3045314
commit bc5e2fe9bf
8 changed files with 17 additions and 7 deletions

View file

@ -54,7 +54,9 @@ pub fn build(b: *std.build.Builder) void {
ensureGit(b.allocator);
ensureDependencySubmodule(b.allocator, "examples/libs/zmath") catch unreachable;
ensureDependencySubmodule(b.allocator, "examples/libs/zigimg") catch unreachable;
ensureDependencySubmodule(b.allocator, "examples/assets") catch unreachable;
ensureDependencySubmodule(b.allocator, "examples/gkurve/assets") catch unreachable;
ensureDependencySubmodule(b.allocator, "examples/image-blur/assets") catch unreachable;
ensureDependencySubmodule(b.allocator, "examples/textured-cube/assets") catch unreachable;
inline for ([_]ExampleDefinition{
.{ .name = "triangle" },