build requirements: add a shell script static analysis tool

ShellCheck: https://github.com/koalaman/shellcheck

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser
2020-01-08 18:09:36 +01:00
parent 22d05b3e59
commit bdf392093a
4 changed files with 50 additions and 15 deletions

View File

@@ -70,12 +70,14 @@ $(GH_PAGES)::
# test
# ----
PHONY += test test.pylint test.pep8 test.unit test.robot
PHONY += test test.sh test.pylint test.pep8 test.unit test.robot
# TODO: balance linting with pylint
test: test.pep8 test.unit test.robot
test: test.pep8 test.unit test.sh test.robot
- make pylint
test.sh:
test.pep8: pyenvinstall
$(PY_ENV_ACT); ./manage.sh pep8_check