build instructions
This commit is contained in:
parent
9bb72f3cdb
commit
24a230a027
2 changed files with 9 additions and 0 deletions
|
|
@ -9,3 +9,9 @@ wom
|
|||
|
||||
# Showcase
|
||||

|
||||
|
||||
# Building
|
||||
/usr/local is just my preferred prefix, nothing should require you to use it.
|
||||
```bash
|
||||
zig build install -p /usr/local
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue