You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,9 @@ Nearly every function in the C API is exposed in Ziglua. Additional convenience
36
36
37
37
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.
38
38
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`
40
42
41
43
Then in your `build.zig` file you can use the dependency.
0 commit comments