mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-04-07 15:03:56 +08:00
Revert "use vendored raylib from dependencies repo (#37489)"
This reverts commit 0374979397.
11 lines
256 B
Bash
Executable File
11 lines
256 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
FAIL=0
|
|
|
|
if grep -n '#include "third_party/raylib/include/raylib\.h"' $@ | grep -v '^system/ui/raylib/raylib\.h'; then
|
|
echo -e "Bad raylib include found! Use '#include \"system/ui/raylib/raylib.h\"' instead\n"
|
|
FAIL=1
|
|
fi
|
|
|
|
exit $FAIL
|