summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck8
1 files changed, 7 insertions, 1 deletions
diff --git a/check b/check
index 47857d2..ccd978d 100755
--- a/check
+++ b/check
@@ -49,6 +49,12 @@ then
$hideok flake8 templates/python lib/*.py --exclude=template.py
fi
+if command -v shellcheck > /dev/null
+then
+ shellcheck check ./*.sh
+ find templates/bash -name '*.sh' ! -name template.sh -exec shellcheck '{}' +
+fi
+
$hideok cargo build --all-targets
if cargo --list | awk '{ print $1 }' | grep 'clippy$' > /dev/null
then
@@ -67,7 +73,7 @@ then
-exec black --check '{}' +
fi
-for md in [^CR]*.md lib/*.md
+for md in [!CR]*.md lib/*.md
do
$hideok echo "$md ====================================="
codegen "$md" test.py