summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint-stable-025-description-md16
1 files changed, 16 insertions, 0 deletions
diff --git a/util/lint/lint-stable-025-description-md b/util/lint/lint-stable-025-description-md
new file mode 100755
index 0000000000..88c3d76c41
--- /dev/null
+++ b/util/lint/lint-stable-025-description-md
@@ -0,0 +1,16 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# DESCR: Check that every utility has a description
+
+LC_ALL=C export LC_ALL
+FAIL=0
+
+for i in util/*/; do
+ if [ ! -r "$i/description.md" ]; then
+ echo " Failure: util directory $i missing description.md file."
+ FAIL=1
+ fi
+done
+
+exit $FAIL