Layer devtools¶
Overview¶
Metadata¶
Layer Home¶
/opt/metwork-mfext-0.5/opt/devtools
Label¶
Dependencies¶
Extra-environnement (loaded after layer load)¶
SHELLCHECK_OPTS=-e SC2002 -e SC1090 -e SC2129 -e SC2013
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
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
Utilities¶
shellchecks¶
execute shellcheck on every shell script files found in the current directory
usage: shellchecks
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
Packages¶
Name | Version | Description | Home-Page |
---|---|---|---|
ack | 2.16-single-file | ACK is a tool like grep, optimized for programmers | https://beyondgrep.com/ |
shellcheck | 20170801 | ShellCheck is a bash linter | http://www.shellcheck.net |
sloccount | 2.26 | A set of tools for counting physical Source Lines of Code (SLOC) | https://www.dwheeler.com/sloccount/ |
(3 packages)