aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 21:25:40 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 21:25:40 +0200
commitce40702a501c3159db89693bd7da713ae1b4c011 (patch)
tree1186ac83a59c7ce1b08b072ac82292338111824e /build.zig
parentafd538d6af0baf8a1861ff2cdef881edbfb57000 (diff)
feat(typst): embed fonts
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index c85791f..6782207 100644
--- a/build.zig
+++ b/build.zig
@@ -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",