build instructions

This commit is contained in:
Squibid 2025-12-23 23:32:15 -05:00
parent 9bb72f3cdb
commit 24a230a027
Signed by: squibid
GPG key ID: BECE5684D3C4005D
2 changed files with 9 additions and 0 deletions

View file

@ -67,7 +67,10 @@ pub fn build(b: *std.Build) void {
exe.root_module.addIncludePath(ds.path("."));
exe.root_module.addIncludePath(cargs.path("include"));
exe.root_module.addIncludePath(log.path("src"));
// add the files to the install step
b.installArtifact(exe);
b.installFile("completions/_wom.zsh", "zsh/site-functions/_wom.zsh");
const run_cmd = b.addRunArtifact(exe);
run_cmd.step.dependOn(b.getInstallStep());