14. Layer devtools¶
14.1. Overview¶
The devtools
layer is a set of CLI developer tools.
14.2. Metadata¶
14.2.1. Layer Home¶
/opt/metwork-mfext-0.8/opt/devtools
14.2.2. Label¶
14.2.3. Dependencies¶
14.2.4. Extra-environment (loaded after layer load)¶
SHELLCHECK_OPTS=-e SC2002 -e SC1090 -e SC2129 -e SC2013
14.2.5. Extra interactive profile (loaded after layer load in interactive mode only)¶
GIT_WRAPPER=`which_or_empty git`
if test "${GIT_WRAPPER}" != ""; then
alias git="${MFEXT_HOME}/opt/devtools/bin/_git"
fi
14.2.6. Extra interactive (un)profile (loaded after layer unload in interactive mode only)¶
N=$(alias git |grep -c "${MFEXT_HOME}/opt/devtools")
if test "${N}" -gt 0; then
unalias git
fi
14.3. Utilities¶
14.3.1. shellchecks¶
execute shellcheck on every shell script files found in the current directory
usage: shellchecks
14.3.2. test_globals_in_lua.sh¶
usage: test_globals_in_lua.sh LUA_FILE
=> test if there are some global variables in the given lua file
and exit with an error code if there are some.
=> you can also provide a pattern like *.lua as argument
=> if no global variables are found in lua files, exit with 0 return
code
14.4. Packages¶
Name |
Version |
Description |
Home Page |
|
---|---|---|---|---|
2.16-single-file |
ACK is a tool like grep, optimized for programmers |
|||
2.40.1 |
GRAPHVIZ is open source graph visualization software. It has several main graph layout programs. It also has web and interactive graphical interfaces, and auxiliary tools, libraries, and language bindings. |
|||
20170801 |
ShellCheck is a bash linter |
|||
2.26 |
A set of tools for counting physical Source Lines of Code (SLOC) |
(4 packages)