mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-07 11:07:27 +00:00
Repository move
This commit is contained in:
parent
7bdb0cd320
commit
b7d89cb7b9
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
# raylib-zig
|
||||
|
||||
@ -6,7 +6,7 @@ Manually tweaked, auto-generated [raylib](https://github.com/raysan5/raylib) bin
|
||||
|
||||
Bindings tested on raylib version 5.6-dev and Zig 0.14.0
|
||||
|
||||
Thanks to all the [contributors](https://github.com/Not-Nik/raylib-zig/graphs/contributors) for their help with this
|
||||
Thanks to all the [contributors](https://github.com/raylib-zig/raylib-zig/graphs/contributors) for their help with this
|
||||
binding.
|
||||
|
||||
## Example
|
||||
@ -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 git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
|
||||
```
|
||||
|
||||
Then add raylib-zig as a dependency and import its modules and artifact in your `build.zig`:
|
||||
|
@ -65,7 +65,7 @@ pub fn build(b: *std.Build) !void {
|
||||
|
||||
New-Item -Name "build.zig" -ItemType "file" -Value $BUILD_DOT_ZIG -Force
|
||||
|
||||
zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
|
||||
|
||||
New-Item -Name "resources" -ItemType "directory"
|
||||
New-Item -Name "resources/placeholder.txt" -ItemType "file" -Value "" -Force
|
||||
|
@ -63,7 +63,7 @@ pub fn build(b: *std.Build) !void {
|
||||
b.installArtifact(exe);
|
||||
}' >> build.zig
|
||||
|
||||
zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
|
||||
|
||||
mkdir resources
|
||||
touch resources/placeholder.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user