diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-29 21:25:40 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-29 21:25:40 +0200 |
| commit | ce40702a501c3159db89693bd7da713ae1b4c011 (patch) | |
| tree | 1186ac83a59c7ce1b08b072ac82292338111824e /build.zig | |
| parent | afd538d6af0baf8a1861ff2cdef881edbfb57000 (diff) | |
feat(typst): embed fonts
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ fn generateSVG(b: *std.Build, step: *std.Build.Step) !void { defer dir.close(); var iter = dir.iterate(); while (try iter.next()) |it| { - if (it.kind == .file and std.mem.endsWith(u8, it.name, ".typ")) { + if (it.kind == .file and std.mem.endsWith(u8, it.name, ".typ") and !std.mem.startsWith(u8, it.name, "_")) { const cmd = b.addSystemCommand(&[_][]const u8{ "typst", "c", "-f", "svg", |
