mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 13:32:04 +08:00
dd778596b7
date: 2025-03-15T21:10:51 master commit: fb7b9c0f9420d228f03362970ebcfb7237095cf3
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
|