saving work

This commit is contained in:
jaina heartles 2024-11-29 16:58:53 -05:00
parent 3365ce7a11
commit 22b72bcc2b
4 changed files with 490 additions and 14 deletions

View file

@ -118,7 +118,9 @@ pub fn build(b: *std.build.Builder) !void {
const unittest_sql = b.addTest("src/sql/lib.zig");
unittest_sql_cmd.dependOn(&unittest_sql.step);
unittest_sql.addPackage(unittest_pkgs.util);
//unittest_sql.linkLibC();
unittest_sql.addSystemIncludePath("/nix/store/c2vkxzbqb3z5220bsgdw1s0kasg61lry-sqlite-3.41.2-dev/include/"); // TODO: why
unittest_sql.linkSystemLibrary("sqlite3");
unittest_sql.linkLibC();
const unittest_template_cmd = b.step("unit:template", "Run tests for template package");
const unittest_template = b.addTest("src/template/lib.zig");