mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +08:00
Vendored
+21
-18
@@ -46,24 +46,27 @@ set -x
|
||||
RAYGUI_COMMIT="76b36b597edb70ffaf96f046076adc20d67e7827"
|
||||
curl -fsSLo $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h
|
||||
|
||||
if [ -f /TICI ]; then
|
||||
|
||||
# Building the python bindings
|
||||
cd $DIR
|
||||
# Building the python bindings
|
||||
cd $DIR
|
||||
|
||||
if [ ! -d raylib_python_repo ]; then
|
||||
git clone -b master --no-tags https://github.com/commaai/raylib-python-cffi.git raylib_python_repo
|
||||
fi
|
||||
|
||||
cd raylib_python_repo
|
||||
|
||||
BINDINGS_COMMIT="ef8141c7979d5fa630ef4108605fc221f07d8cb7"
|
||||
git fetch origin $BINDINGS_COMMIT
|
||||
git reset --hard $BINDINGS_COMMIT
|
||||
git clean -xdff .
|
||||
|
||||
RAYLIB_PLATFORM=$RAYLIB_PLATFORM RAYLIB_INCLUDE_PATH=$INSTALL_H_DIR RAYLIB_LIB_PATH=$INSTALL_DIR python setup.py bdist_wheel
|
||||
cd $DIR
|
||||
|
||||
rm -rf wheel
|
||||
mkdir wheel
|
||||
cp raylib_python_repo/dist/*.whl wheel/
|
||||
|
||||
if [ ! -d raylib_python_repo ]; then
|
||||
git clone -b master --no-tags https://github.com/commaai/raylib-python-cffi.git raylib_python_repo
|
||||
fi
|
||||
|
||||
cd raylib_python_repo
|
||||
|
||||
BINDINGS_COMMIT="ef8141c7979d5fa630ef4108605fc221f07d8cb7"
|
||||
git fetch origin $BINDINGS_COMMIT
|
||||
git reset --hard $BINDINGS_COMMIT
|
||||
git clean -xdff .
|
||||
|
||||
RAYLIB_PLATFORM=$RAYLIB_PLATFORM RAYLIB_INCLUDE_PATH=$INSTALL_H_DIR RAYLIB_LIB_PATH=$INSTALL_DIR python setup.py bdist_wheel
|
||||
cd $DIR
|
||||
|
||||
rm -rf wheel
|
||||
mkdir wheel
|
||||
cp raylib_python_repo/dist/*.whl wheel/
|
||||
|
||||
Reference in New Issue
Block a user