20 lines
No EOL
609 B
Bash
Executable file
20 lines
No EOL
609 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
gcc raylib-c/parser/raylib_parser.c
|
|
./a.out -i raylib-c/src/extras/raygui.h -o raygui.json -f JSON
|
|
./a.out -i raylib-c/src/extras/physac.h -o physac.json -f JSON
|
|
./a.out -i raylib-c/src/raylib.h -o raylib.json -f JSON
|
|
|
|
python3 raylib/build.py
|
|
|
|
python3 create_enums.py > raylib/enums.py
|
|
|
|
|
|
pip3 install sphinx-autoapi myst_parser sphinx_rtd_theme
|
|
python3 create_stub_pyray.py > pyray/__init__.pyi
|
|
python3 create_enums.py >> pyray/__init__.pyi
|
|
python3 create_stub_static.py >raylib/__init__.pyi
|
|
rm -r docs
|
|
cd docs-src
|
|
make clean ; make html ; mv _build/html/ ../docs/
|
|
touch ../docs/.nojekyll |