Skip to content

Commit 5e2bdef

Browse files
committed
Update install docs to use git+https
1 parent 7f5317a commit 5e2bdef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ Nearly every function in the C API is exposed in Ziglua. Additional convenience
3636

3737
Find the archive url of the Ziglua version you want to integrate with your project. For example, the url for the commit **41a110981cf016465f72208c3f1732fd4c92a694** is https://github.com/natecraddock/ziglua/archive/41a110981cf016465f72208c3f1732fd4c92a694.tar.gz.
3838

39-
Then run `zig fetch --save <url>`. This will add the dependency to your `build.zig.zon` file.
39+
Then run `zig fetch --save git+https://github.com/natecraddock/ziglua` to add the most recent commit of ziglua to your `build.zig.zon` file.
40+
41+
Add a `#<tag>` to the url to use a specific tagged release like `zig fetch --save git+https://github.com/natecraddock/ziglua#0.3.0`
4042

4143
Then in your `build.zig` file you can use the dependency.
4244

0 commit comments

Comments
 (0)