feat: add file_watcher module

This commit is contained in:
CJ van den Berg 2026-02-20 11:36:31 +01:00
parent 2266c92eab
commit 9cb2e7bc35
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -604,6 +604,16 @@ pub fn build_exe(
}, },
}); });
const file_watcher_mod = b.createModule(.{
.root_source_file = b.path("src/file_watcher.zig"),
.imports = &.{
.{ .name = "soft_root", .module = soft_root_mod },
.{ .name = "log", .module = log_mod },
.{ .name = "cbor", .module = cbor_mod },
.{ .name = "thespian", .module = thespian_mod },
},
});
const project_manager_mod = b.createModule(.{ const project_manager_mod = b.createModule(.{
.root_source_file = b.path("src/project_manager.zig"), .root_source_file = b.path("src/project_manager.zig"),
.imports = &.{ .imports = &.{
@ -619,6 +629,7 @@ pub fn build_exe(
.{ .name = "fuzzig", .module = fuzzig_dep.module("fuzzig") }, .{ .name = "fuzzig", .module = fuzzig_dep.module("fuzzig") },
.{ .name = "git", .module = git_mod }, .{ .name = "git", .module = git_mod },
.{ .name = "VcsStatus", .module = VcsStatus_mod }, .{ .name = "VcsStatus", .module = VcsStatus_mod },
.{ .name = "file_watcher", .module = file_watcher_mod },
}, },
}); });