From c469928eaca8497e5c0c169fe4d885d127d8a4d6 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 7 Oct 2022 19:43:47 +0200 Subject: Move linter script to new tools folder --- tools/lint.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/lint.sh (limited to 'tools') 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 -- cgit v1.2.3-70-g09d2