Tools: scripts: add run_luacheck helper

This commit is contained in:
Iampete1 2023-02-14 03:16:55 +00:00 committed by Andrew Tridgell
parent 11f6b5c3ea
commit 5dde76b899
1 changed files with 7 additions and 0 deletions

7
Tools/scripts/run_luacheck.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Run lua check for all lua files passing AP specific config
cd "$(dirname "$0")"
cd ../..
luacheck */ --config libraries/AP_Scripting/tests/luacheck.lua