From 4e86e3e18e9b43e442a35361ac82b30dd6c0103a Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 7 Oct 2026 00:09:34 +0200 Subject: wasm implement components --- build.zig | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 8e12ec1..5ab9bbc 100644 --- a/build.zig +++ b/build.zig @@ -24,11 +24,6 @@ pub fn build(b: *std.Build) void { .target = target, }); - const html_mod = b.addModule("html", .{ - .root_source_file = b.path("src/html/root.zig"), - .target = target, - }); - const http_mod = b.addModule("http", .{ .root_source_file = b.path("src/http/root.zig"), .target = target, @@ -40,7 +35,6 @@ pub fn build(b: *std.Build) void { .root_source_file = b.path("src/z/root.zig"), .target = target, }); - z_mod.addImport("html", html_mod); const site: AppBundle = .init(b, .{ .root_source_file = b.path("src/app/root.zig"), @@ -56,7 +50,6 @@ pub fn build(b: *std.Build) void { .imports = &.{ .{ .name = "db", .module = db_mod }, .{ .name = "api", .module = api_mod }, - .{ .name = "html", .module = html_mod }, .{ .name = "http", .module = http_mod }, .{ .name = "site", .module = site.mod }, }, @@ -93,13 +86,6 @@ pub fn build(b: *std.Build) void { const api_test_step = b.step("test-api", "Run api tests"); api_test_step.dependOn(&run_api_tests.step); - const html_tests = b.addTest(.{ - .root_module = html_mod, - }); - const run_html_tests = b.addRunArtifact(html_tests); - const html_test_step = b.step("test-html", "Run html tests"); - html_test_step.dependOn(&run_html_tests.step); - const http_tests = b.addTest(.{ .root_module = http_mod, }); @@ -115,7 +101,6 @@ pub fn build(b: *std.Build) void { const test_step = b.step("test", "Run all tests"); test_step.dependOn(&run_db_tests.step); test_step.dependOn(&run_api_tests.step); - test_step.dependOn(&run_html_tests.step); test_step.dependOn(&run_http_tests.step); test_step.dependOn(&run_exe_tests.step); -- cgit v1.2.3-70-g09d2