Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2018 15:29:58 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329826 - head/tools/boot
Message-ID:  <201802221529.w1MFTw0T062515@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802221529.w1MFTw0T062515>