mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-19 03:52:05 +08:00
705bfb5e34
version: sunnypilot v2026.001.000 (feature-branch)
date: 2026-04-10T09:48:29
master commit: e541489b33
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
|