aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+```