diff options
| author | 2023-09-17 23:44:24 +0200 | |
|---|---|---|
| committer | 2023-09-17 23:44:24 +0200 | |
| commit | 61ae4927d7658a6727b23ebc97a0a095a3f31bf1 (patch) | |
| tree | b194c3e79ef3fba6664a6477894a901807c866a7 | |
| parent | remove old sourcehut build files (diff) | |
| download | zig-sqlite-61ae4927d7658a6727b23ebc97a0a095a3f31bf1.tar.gz zig-sqlite-61ae4927d7658a6727b23ebc97a0a095a3f31bf1.tar.xz zig-sqlite-61ae4927d7658a6727b23ebc97a0a095a3f31bf1.zip | |
readme: clarify how to use the official package manager
Diffstat (limited to '')
| -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", .{ |