summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-10-07 19:43:47 +0200
committerxengineering <me@xengineering.eu>2022-10-07 19:43:47 +0200
commitc469928eaca8497e5c0c169fe4d885d127d8a4d6 (patch)
tree02221869d33341a591ddee22f92a6d1e7de88424 /tools
parentda8b77b664ec37c7129625924ea08bad46345e0e (diff)
downloadlimox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.tar
limox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.tar.zst
limox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.zip
Move linter script to new tools folder
Diffstat (limited to 'tools')
-rwxr-xr-xtools/lint.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/lint.sh b/tools/lint.sh
new file mode 100755
index 0000000..5264112
--- /dev/null
+++ b/tools/lint.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+
+if ! command -v splint 2> /dev/null
+then
+ echo "Please install splint (http://splint.org/)!"
+ exit 1
+fi
+
+find . -type f -iname '*.c' | xargs splint