Author: kevans
Date: Thu Feb 22 15:29:57 2018
New Revision: 329826
URL: https://svnweb.freebsd.org/changeset/base/329826

Log:
  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.

Modified:
  head/tools/boot/lua-lint.sh

Modified: head/tools/boot/lua-lint.sh
==============================================================================
--- head/tools/boot/lua-lint.sh Thu Feb 22 15:29:19 2018        (r329825)
+++ head/tools/boot/lua-lint.sh Thu Feb 22 15:29:57 2018        (r329826)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to