diff options
author | xengineering <me@xengineering.eu> | 2022-10-07 19:43:47 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-07 19:43:47 +0200 |
commit | c469928eaca8497e5c0c169fe4d885d127d8a4d6 (patch) | |
tree | 02221869d33341a591ddee22f92a6d1e7de88424 /tools | |
parent | da8b77b664ec37c7129625924ea08bad46345e0e (diff) | |
download | limox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.tar limox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.tar.zst limox-c469928eaca8497e5c0c169fe4d885d127d8a4d6.zip |
Move linter script to new tools folder
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/lint.sh | 10 |
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 |