version: sunnypilot v2025.003.000 (dev) date: 2026-02-09T02:04:38 master commit: 254f55ac15a40343d7255f2f098de3442e0c4a6f
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
|