aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/build.zig
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-14 21:45:25 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-22 10:10:02 +0100
commit6a8a204020449fee3d8ef5e6175932e3731389f0 (patch)
tree35af7c5a1c19fa95c3c85d106cbc748fc20fc982 /zig-comments/build.zig
parentff092976a9fdeeba96a0de13d013b9d838640c40 (diff)
downloadmfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.gz
mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.bz2
mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.xz
mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.zip
Misc fixes:
- fix template in comments.html: whitespace before tag names is not allowed - update mustache-zig version - null-terminate field names in zig struts, for C interop with PQfnumber function
Diffstat (limited to 'zig-comments/build.zig')
-rw-r--r--zig-comments/build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/zig-comments/build.zig b/zig-comments/build.zig
index 21102a7..b7f3bcc 100644
--- a/zig-comments/build.zig
+++ b/zig-comments/build.zig
@@ -69,6 +69,7 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
+ unit_tests.addModule("mustache", mustache);
const run_unit_tests = b.addRunArtifact(unit_tests);