From 5046d8910a66535f3a29ca016301d2a860c4032c Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sat, 5 Jan 2019 12:45:44 +0100 Subject: [PATCH] Added shellcheck to test-everything --- administration/shellcheck.sh | 3 ++- administration/test-everything.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/administration/shellcheck.sh b/administration/shellcheck.sh index 5aec32c..f814483 100644 --- a/administration/shellcheck.sh +++ b/administration/shellcheck.sh @@ -1,3 +1,4 @@ #!/bin/bash -cd "$(dirname "$(readlink -f "${0}")")/" && +cd "$(dirname "$(readlink -f "${0}")")/" || exit 1 +echo "Run shellcheck..." shellcheck ./*.sh diff --git a/administration/test-everything.sh b/administration/test-everything.sh index 27e2630..df55d66 100644 --- a/administration/test-everything.sh +++ b/administration/test-everything.sh @@ -4,3 +4,4 @@ bash ./clear.sh && bash ./schema-validate.sh && bash ./test.sh && bash ./test-code-format.sh +bash ./shellcheck.sh