From 5ba038c3eb07fc94fc8d6f46b451f552bfc121a4 Mon Sep 17 00:00:00 2001 From: tsne Date: Fri, 19 Jun 2026 13:09:03 +0200 Subject: minor bugfixes and output formatting --- src/template.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/template.zig') diff --git a/src/template.zig b/src/template.zig index 89521e3..3e7f530 100644 --- a/src/template.zig +++ b/src/template.zig @@ -147,7 +147,10 @@ pub const Template = struct { try render_files_recursively(env, dest_root, src_root, entry_subpath.name(), tmpl_confs); }, .file => { - env.info("writing template file {s}", .{dest_path.name()[dest_root.len + 1 ..]}); + const filename = dest_path.name()[dest_root.len + 1 ..]; + if (std.mem.eql(u8, filename, config_filename)) return; + + env.info("writing template file {s}", .{filename}); const input = try fs.read_file(env.allocator, &src_path); var output_buf: [512]u8 = undefined; -- cgit v1.3