diff options
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -86,6 +86,9 @@ Add this as one of the `.dependencies` inside your `build.zig.zon` file: | |||
| 86 | }, | 86 | }, |
| 87 | ``` | 87 | ``` |
| 88 | 88 | ||
| 89 | This tells zig to fetch zig-sqlite from a tarball provided by GitHub. Make sure to replace the `COMMIT` part with an actual commit SHA in long form, like `219faa2a5cd5a268a865a1100e92805df4b84610`. | ||
| 90 | Every time you want to update zig-sqlite you'll have to update this commit. | ||
| 91 | |||
| 89 | Now in your `build.zig` you can access the module like this: | 92 | Now in your `build.zig` you can access the module like this: |
| 90 | ```zig | 93 | ```zig |
| 91 | const sqlite = b.dependency("sqlite", .{ | 94 | const sqlite = b.dependency("sqlite", .{ |