diff options
author | xengineering <me@xengineering.eu> | 2022-10-04 11:35:57 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-04 11:35:57 +0200 |
commit | 310851724625b9cbd4dd6b90135a7530b735b358 (patch) | |
tree | 4ff662b44040ef663dee96c8ce383dad69a68f67 | |
parent | 645e23a6594f649118dabdae13fcb6bd2a512ad3 (diff) | |
download | limox-310851724625b9cbd4dd6b90135a7530b735b358.tar limox-310851724625b9cbd4dd6b90135a7530b735b358.tar.zst limox-310851724625b9cbd4dd6b90135a7530b735b358.zip |
Add initial linting script based on splint
-rwxr-xr-x | lint.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |