diff options
author | toonn <toonn@toonn.io> | 2018-10-09 16:10:51 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-06-18 13:26:21 +0200 |
commit | e91ae58705d244f347c09c1c538245c02b0ea1ba (patch) | |
tree | 4474250acc9b7b77ee6bc0e79cc9368fb0121d21 | |
parent | f4d280c6fba8487ddfebb5883a4e126300d1746c (diff) | |
download | ranger-e91ae58705d244f347c09c1c538245c02b0ea1ba.tar.gz |
Add shellcheck to tests
Shellcheck is run for `scope.sh` after uncommenting all the code.
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile index c6b3b35d..c4bd5bb2 100644 --- a/Makefile +++ b/Makefile @@ -108,11 +108,15 @@ test_pytest: @echo "Running py.test tests..." py.test tests +test_shellcheck: + @echo "Running shellcheck..." + sed '2,$$s/^\( *\)#/\1/' ./ranger/data/scope.sh | shellcheck -a - + test_other: @echo "Checking completeness of man page..." @tests/manpage_completion_test.py -test: test_pylint test_flake8 test_doctest test_pytest test_other +test: test_pylint test_flake8 test_doctest test_pytest test_shellcheck test_other @echo "Finished testing: All tests passed!" man: |