Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b66718c4d72b16b7c8481a04a3c3f2484dcc231d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b66718c4d72b16b7c8481a04a3c3f2484dcc231d)
  • Date: Fri, 25 May 2018 15:25:55 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
lua-forge/luacheck/BUILD | 1 +
lua-forge/luacheck/DEPENDS | 2 ++
lua-forge/luacheck/DETAILS | 21 +++++++++++++++++++++
lua-forge/luacheck/HISTORY | 2 ++
lua-forge/luacheck/INSTALL | 9 +++++++++
6 files changed, 39 insertions(+)

New commits:
commit b66718c4d72b16b7c8481a04a3c3f2484dcc231d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

luacheck: new spell, tool for linting and static analysis of Lua code

diff --git a/ChangeLog b/ChangeLog
index 6670b92..bc159af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * lua-forge/luacheck: new spell, tool for linting and static analysis
+ of Lua code
+
2018-05-24 Vlad Glagolev <stealth AT sourcemage.org>
* security/lastpass-cli: new spell, LastPass command line interface
tool

diff --git a/lua-forge/luacheck/BUILD b/lua-forge/luacheck/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/lua-forge/luacheck/BUILD
@@ -0,0 +1 @@
+true
diff --git a/lua-forge/luacheck/DEPENDS b/lua-forge/luacheck/DEPENDS
new file mode 100755
index 0000000..696fa4b
--- /dev/null
+++ b/lua-forge/luacheck/DEPENDS
@@ -0,0 +1,2 @@
+depends LUA &&
+depends luafilesystem
diff --git a/lua-forge/luacheck/DETAILS b/lua-forge/luacheck/DETAILS
new file mode 100755
index 0000000..7830ba1
--- /dev/null
+++ b/lua-forge/luacheck/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=luacheck
+ VERSION=0.22.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/mpeterv/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:8264000711214e8451307e7f51a45b06d2fcd5da0d3cb49952d54b07a9448431ae3fd68a8cd0a27c73c3b03e6de74e8ae786c139707e16cf938921ab582d3bfd
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/mpeterv/luacheck
+ LICENSE[0]=MIT
+ ENTERED=20180525
+ SHORT="tool for linting and static analysis of Lua code"
+cat << EOF
+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.
+
+Most aspects of checking are configurable: there are options for defining
+custom project-related globals, for selecting set of standard globals
+(version of Lua standard library), for filtering warnings by type and name of
+related variable, etc. The options can be used on the command line, put into
a
+config or directly into checked files as Lua comments.
+EOF
diff --git a/lua-forge/luacheck/HISTORY b/lua-forge/luacheck/HISTORY
new file mode 100644
index 0000000..62e6c0d
--- /dev/null
+++ b/lua-forge/luacheck/HISTORY
@@ -0,0 +1,2 @@
+2018-05-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, BUILD, INSTALL: created spell, version 0.22.0
diff --git a/lua-forge/luacheck/INSTALL b/lua-forge/luacheck/INSTALL
new file mode 100755
index 0000000..c5aae86
--- /dev/null
+++ b/lua-forge/luacheck/INSTALL
@@ -0,0 +1,9 @@
+local LUA=$(installed_version lua) &&
+local LCDIR="/usr/share/lua/${LUA%.?}/luacheck" &&
+
+./install.lua "${INSTALL_ROOT}${LCDIR}" &&
+
+for binary in luacheck.lua luacheck; do
+ ln -vsf "${TRACK_ROOT}${LCDIR}/bin/${binary}" \
+ "${INSTALL_ROOT}/usr/bin/${binary}"
+done



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b66718c4d72b16b7c8481a04a3c3f2484dcc231d), Vlad Glagolev, 05/25/2018

Archive powered by MHonArc 2.6.24.

Top of Page