eqmac-quests/check_all

10 lines
210 B
Text
Raw Permalink Normal View History

2023-07-24 13:24:37 -07:00
#!/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."