Port details |
- lua-luacheck Linter and static analyzer for lua files
- 0.25.g20200825 devel =2 0.25.g20200825Version of this port present on the latest quarterly branch.
- Maintainer: kevans@FreeBSD.org
- Port Added: 2018-02-22 14:35:46
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- https://github.com/luarocks/luacheck
- Description:
- Luacheck is a static analyzer and a linter for Lua. Luacheck detects various
issues such as usage of undefined global variables, unused variables and values,
accessing uninitialized variables, unreachable code and more.
Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, Lua 5.3
and LuaJIT.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- lua54-luacheck>0:devel/lua-luacheck
- To install the port:
- cd /usr/ports/devel/lua-luacheck/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/lua-luacheck
- pkg install lua54-luacheck
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: lua54-luacheck
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1602514106
SHA256 (luarocks-luacheck-0.25.g20200825-4e5774169fa_GH0.tar.gz) = 1b9b487f18e00e5329536dc04d91e3fac785ea0217a9fa0f866e6822d5a8ef82
SIZE (luarocks-luacheck-0.25.g20200825-4e5774169fa_GH0.tar.gz) = 162593
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- argparse.lua : devel/lua-argparse@lua54
- lfs.so : devel/luafilesystem@lua54
- Library dependencies:
-
- liblua-5.4.so : lang/lua54
- This port is required by:
- for Build
-
- dns/knot-resolver
Configuration Options:
- No options to configure
- Options name:
- devel_lua-luacheck
- USES:
- lua
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 9
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.25.g20200825 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.25.g20200825 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.25.g20200825 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.25.g20200825 25 Oct 2020 03:36:31 |
kevans |
devel/lua-luacheck: specify ${LUA_FLAVOR} for lua-argparse dependency
While here, use the more appropriate LUA_REFMODSHAREDIR for describing
dependency location. |
0.25.g20200825 15 Oct 2020 00:22:36 |
kevans |
devel/lua-luacheck: update to just before the unreleased 0.25.0
The intervening changes are many, with new checks and a switch to luarocks
as upstream. This intermediate version also contains some Lua 5.4 support.
Note that Lua 5.4 attributes are currently parsed, but ignored.
argparse is no longer bundled with luacheck, so we'll grab argparse from
devel/lua-argparse.
The build system in luacheck got removed in favor of just using luarocks.
This is currently incompatible with how ports wants to work, so I've changed
it to the simpler approach that was previously advised to just copy the src/
files over and now installing a script from FILESDIR that matches roughly
what we were ending up with before to get the correct package.path.
Miscellaneous indentation fixes included. |
0.21.2 14 Apr 2020 15:49:37 |
mat |
USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
PR: 245038
Submitted by: andrew tao11 riddles org uk
Reviewed by: mat, kevans, russ haley gmail com
Approved by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D16494 |
0.21.2 06 Oct 2019 13:47:07 |
tobik |
Drop nop NO_CONFIGURE |
0.21.2 22 Feb 2018 14:35:31 |
kevans |
Add devel/lua-luacheck, linter and static analyzer for lua
Provides linting and static analysis for Lua 5.1, Lua 5.2, Lua 5.3 and
LuaJIT. A patch was required to allow luacheck and luacheck.lua to be
symlinked into ${PREFIX}/bin, which I have submitted upstream.
Checked with: portlint
Tested with: Poudriere (head, amd64)
Tested with: Poudriere (stable/11, amd64)
Tested with: Poudriere (11.1-R, i386) [lwhsu]
Tested with: Poudriere (10.4-R, amd64+i386) [lwhsu]
Reviewed by: lwhsu
Approved by: lwhsu (ports)
Differential Revision: https://reviews.freebsd.org/D14467 |
Number of commits found: 9
|