diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-10-23 22:27:49 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-10-23 22:27:49 -0500 |
| commit | e95cd1b87f21d6c23fd6dad7c638aaefea2f978b (patch) | |
| tree | 1c14bf034bdde447c693a024bb8c89674eaa7303 | |
| parent | 58b763fd64765f092a574811fd83084c6e39ed52 (diff) | |
| download | funcz-e95cd1b87f21d6c23fd6dad7c638aaefea2f978b.tar.gz | |
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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); +``` |
