Skip to content

Commit 2517d3f

Browse files
Save users some time with the zig fetch command (#3)
1 parent bcbd249 commit 2517d3f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ Zig bindings and build package for stb_image, stb_image_resize and stb_image_wri
1313

1414
## Getting started
1515

16-
Add `zstbi` to your `build.zig.zon` .dependencies and in your `build.zig` add:
16+
Add `zstbi` to your `build.zig.zon` .dependencies with:
17+
18+
```
19+
zig fetch --save git+https://github.com/zig-gamedev/zstbi
20+
```
21+
22+
and in your `build.zig` add:
23+
1724
```zig
1825
pub fn build(b: *std.Build) void {
1926
const exe = b.addExecutable(.{ ... });

0 commit comments

Comments
 (0)