Compare commits

..

No commits in common. "a10abc5598b1ea9a6fddfc6a6a7bea7a9da305e7" and "56b77357bb984f5dbb0d7ec2ca77df1eddb9c129" have entirely different histories.

View file

@ -225,15 +225,12 @@ rwx_code_modules() {
# check source code
rwx_code_check() {
# check syntax
rwx_log
rwx_shellcheck "${rwx_main_root}"
# check format
rwx_log
rwx_shfmt "${rwx_main_root}"
# check syntax
rwx_log
[ -e "${rwx_code_root}" ] &&
rwx_shfmt "${rwx_code_root}"
rwx_shellcheck "${rwx_main_root}"
}
# fetch matching doc for given name
@ -241,7 +238,11 @@ rwx_code_check() {
rwx_code_doc() {
local name="${1}"
[ -n "${name}" ] || return
rwx_code_action_target "doc" "${name}"
rwx_code_cache |
awk \
-v action="doc" \
-v target="${name}" \
"${_rwx_code_awk}"
}
rwx_code_load() {