mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-12 20:12:07 +08:00
f5e5d688c3
version: sunnypilot v0.9.9 release date: 2025-03-18T06:26:39 master commit: 8e5b656e654a7694c22f2b0b7bee0802db02b4af
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
|