lua-lint: Add note about luacheck in ports, silence warning

luacheck was added in ports r462609.

Silence warning about cli_execute -- it's non-standard, but for our setup it
will be a standard global.
This commit is contained in:
Kyle Evans 2018-02-22 15:29:57 +00:00
parent 949440623b
commit 5af17cb319
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329826

View File

@ -1,8 +1,8 @@
#!/bin/sh
# $FreeBSD$
# Run linter on the lua scripts in stand/lua. luacheck, not currently available
# in ports, must be installed as a dependency.
# Run linter on the lua scripts in stand/lua. luacheck, available in ports as
# devel/lua-luacheck, must be installed as a dependency of this script.
die() {
echo $*
@ -16,4 +16,4 @@ LUACHECK=$(which luacheck)
cd $(make -V SRCTOP)/stand
${LUACHECK} . --globals loader --globals lfs --globals io.getchar \
--globals io.ischar --std lua53
--globals io.ischar --globals cli_execute --std lua53