#Building a project with 0.12 and raylib.

1 messages · Page 1 of 1 (latest)

thin kestrel
#

I am attempting to build raylib with zig, and all i have done is put it in my zon file

.{
    .name = "gnache",
    .version = "0.0.1",

    .dependencies = .{
        .@"raylib-zig" = .{
            .url = "https://github.com/Not-Nik/raylib-zig/archive/devel.tar.gz",
            .hash = "12000000000000000000000000000000000000000000000000000000000000000000",
        },
    },

    .paths = .{
        "",
    },
}
patent scarab
#

0.11.0

#

oh is this from raylib?

thin kestrel
#

yes

#

also minimum

#

not maximum

patent scarab
#

from what i remember semver requires the patch value

#

so they did it wrong

thin kestrel
#

......

patent scarab
#

you could fork it and add the extra .0 and see if that fixes it

thin kestrel
#

how do i use it after forking it?

#

not using the repo

patent scarab
#

same way you just used it

#

just replace Not-Nik/raylib-zig with whatever you called it

thin kestrel
#

oh using my repo instead ok

#

ty

#

ill let u know if it owrks

patent scarab
#

sounds good

thin kestrel
#

it did infact work

#

i should submit a pr