aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 22:27:49 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 22:27:49 -0500
commite95cd1b87f21d6c23fd6dad7c638aaefea2f978b (patch)
tree1c14bf034bdde447c693a024bb8c89674eaa7303
parent58b763fd64765f092a574811fd83084c6e39ed52 (diff)
downloadfuncz-e95cd1b87f21d6c23fd6dad7c638aaefea2f978b.tar.gz
Added install instructions to READMEHEADmain
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7452cec..fb63ab7 100644
--- a/README.md
+++ b/README.md
@@ -7,3 +7,12 @@ To add the latest version to your project, simply run
```
$ zig fetch --save git+https://git.ngaffney.dev/funcz/#HEAD
```
+
+And then in your `build.zig`, add the following:
+```zig
+const funczmod = b.dependency("funcz", .{
+ .target = target,
+ .optimize = optimize,
+}).module("funcz");
+exe.root_module.addImport("funcz", funczmod);
+```