mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
18 lines
No EOL
380 B
Bash
Executable file
18 lines
No EOL
380 B
Bash
Executable file
#!/bin/sh
|
|
echo "Checking Perl scripts..."
|
|
find . -name "*.pl" \
|
|
| while read s
|
|
do
|
|
if ! perl -c "$s" 2>/dev/null; then
|
|
echo "$s is invalid."
|
|
fi
|
|
done
|
|
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." |