do not skip symlinks
1 files changed, 4 insertions(+), 1 deletions(-) M lib.zig
M lib.zig +4 -1
@@ 33,7 33,10 @@ pub fn writeZig(caller_allocator: *mem.A var i = try walker.next(); while (i != null) : (i = try walker.next()) { const entry = i.?; - if (entry.kind != .File) continue; + switch (entry.kind) { + .File, .SymLink => {}, + else => continue, + } const path = try mem.dupe(allocator, u8, entry.path[options.dir.len + "/".len ..]);