From b2e1074771173255c2b650da7a6b55774ec40fd0 Mon Sep 17 00:00:00 2001 From: Claudius Heine Date: Mon, 29 Jun 2020 14:25:17 +0200 Subject: [PATCH] checkcode: add shell check Signed-off-by: Claudius Heine Signed-off-by: Jan Kiszka --- scripts/checkcode.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkcode.sh b/scripts/checkcode.sh index 2b21894..6bb549c 100755 --- a/scripts/checkcode.sh +++ b/scripts/checkcode.sh @@ -16,4 +16,7 @@ flake8 $1 || ERROR=$(expr $ERROR + 2) echo "Checking with doc8" doc8 $1/docs --ignore-path $1/docs/_build || ERROR=$(expr $ERROR + 4) +echo "Checking with shellcheck" +shellcheck -S warning $1/kas-docker $1/scripts/release.sh $1/scripts/checkcode.sh || ERROR=$(expr $ERROR + 8) + exit $ERROR