feat: Add variable name_suffix; Pass shellcheck; Discard useless variables from main script

This commit is contained in:
ge
2022-06-29 21:27:35 +03:00
parent 3d514678e7
commit aaa7a5c2d3
11 changed files with 177 additions and 147 deletions

View File

@ -23,8 +23,10 @@ tests:
for test in $(tests_dir)/*.bats; do bats --verbose-run --print-output-on-failure "$$test"; done
lint:
shellcheck $(src_dir)/boring-backup || true
shellcheck $(src_dir)/lib/* || true
shellcheck $(src_dir)/boring-backup
shellcheck $(src_dir)/lib/*.sh
shellcheck $(src_dir)/lib/handlers/sources/*.sh
shellcheck $(src_dir)/lib/handlers/targets/*.sh
docs: builddir
# See rst2man(1), rst2html(1), https://docutils.sourceforge.io/docs/index.html