aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-07 00:09:34 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-07 00:09:34 +0200
commit4e86e3e18e9b43e442a35361ac82b30dd6c0103a (patch)
treec37d84000608386147b910dd41df5743e947fd93 /build.zig
parent12a02f161504b49a54243bed996df6b44e25b7b4 (diff)
wasm implement components
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig15
1 files changed, 0 insertions, 15 deletions
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);