summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2023-09-17 23:44:24 +0200
committerGravatar Vincent Rischmann2023-09-17 23:44:24 +0200
commit61ae4927d7658a6727b23ebc97a0a095a3f31bf1 (patch)
treeb194c3e79ef3fba6664a6477894a901807c866a7
parentremove old sourcehut build files (diff)
downloadzig-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.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 375cf1c..40c8d0c 100644
--- a/README.md
+++ b/README.md
@@ -86,6 +86,9 @@ Add this as one of the `.dependencies` inside your `build.zig.zon` file:
86}, 86},
87``` 87```
88 88
89This 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`.
90Every time you want to update zig-sqlite you'll have to update this commit.
91
89Now in your `build.zig` you can access the module like this: 92Now in your `build.zig` you can access the module like this:
90```zig 93```zig
91const sqlite = b.dependency("sqlite", .{ 94const sqlite = b.dependency("sqlite", .{