Closed bobf closed 8 months ago
Rework manifest and compiled template output to use std.Build.addWriteFiles - no longer pollutes project directory with compiled templates/manifest file.
Templates are now located at runtime with:
const manifest = @import("zmpl.manifest"); // Generated file if (manifest.find("template_name")) |template| { template.render(&data); }
Rework manifest and compiled template output to use std.Build.addWriteFiles - no longer pollutes project directory with compiled templates/manifest file.
Templates are now located at runtime with: