eqmac-quests/check_all
2023-07-24 13:24:37 -07:00

10 lines
No EOL
210 B
Bash

#!/bin/sh
echo "Checking Lua scripts..."
find . -name "*.lua" \
| while read s
do
if ! luac -p "$s" 2>/dev/null; then
echo "$s is invalid."
fi
done
echo "Script check completed."