Update submodules:
$ git submodule update --init --recursive
Apply raylib patch:
$ cd raylib
$ git apply ../raylib.diff
Switch flecs
version:
$ cd flecs
$ git checkout v3.2.7
Desktop:
$ zig build
# for wayland version
$ ./zig-out/bin/slingshot
# for x11 version
$ ./zig-out/bin/slingshot_x11
Wasm:
$ zig build -Dtarget=wasm32-emscripten --sysroot "$PWD/emsdk/upstream/emscripten" -Doptimize=ReleaseFast
$ wasm.sh
Everything will be in wasm
folder.