raylib_project_template/src/libraries/raylib/raygui/bindgen.sh

10 lines
306 B
Bash
Executable file

#!/usr/bin/env bash
# Currently not cross compiling for windows and darwin
set -euo pipefail
# This is supposed to use Karl Zylinski's odin-c-bindgen
# https://github.com/karl-zylinski/odin-c-bindgen
odin-c-bindgen bindgen.sjson
rm -f ../raygui.odin
cp bindgen_output/raygui.odin ../
rm -r bindgen_output