fix zig fetch command in README (#130)
* fix zig fetch command in README All URLs within build.zig.zon files must point to archives that never change. However, the zig fetch command in the README.md adds a URL that points to the `devel` git branch whose content changes whenever the `devel` branch is updated. I've updated the README a url that zig will resolve to a SHA before it writes it to the zon file. * Update template scripts --------- Co-authored-by: Not-Nik <nik.wipper@gmx.de>
This commit is contained in:
parent
ff775330c7
commit
94570c4b60
3 changed files with 5 additions and 13 deletions
|
|
@ -64,7 +64,7 @@ want to run an example, say `basic_window` run `zig build basic_window`
|
|||
Download and add raylib-zig as a dependency by running the following command in your project root:
|
||||
|
||||
```
|
||||
zig fetch --save https://github.com/Not-Nik/raylib-zig/archive/devel.tar.gz
|
||||
zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
```
|
||||
|
||||
Then add raylib-zig as a dependency and import its modules and artifact in your `build.zig`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue