Adguardhome/scripts/make/md-lint.sh
Maksim Kazantsev 35f9101863 Pull request 2639: ADG-12124-use-globs-properly-in-scripts
Squashed commit of the following:

commit 0a639315fab426a0bcc3e8164009abd661194cff
Merge: 33fbca6b6 f7c907878
Author: Maksim Kazantsev <m.kazantsev@adguard.com>
Date:   Thu Apr 23 15:32:37 2026 +0300

    Merge branch 'master' into ADG-12124-use-globs-properly-in-scripts

commit 33fbca6b665251e8ba9e0ac8eeac366dcd03ae0f
Author: Maksim Kazantsev <m.kazantsev@adguard.com>
Date:   Thu Apr 23 14:48:54 2026 +0300

    make: use globs properly;
2026-04-23 12:40:56 +00:00

28 lines
585 B
Bash

#!/bin/sh
# This comment is used to simplify checking local copies of the script. Bump
# this number every time a significant change is made to this script.
#
# AdGuard-Project-Version: 3
verbose="${VERBOSE:-0}"
readonly verbose
# Don't use -f, because we use globs in this script.
set -e -u
if [ "$verbose" -gt '0' ]; then
set -x
fi
# TODO(e.burkov): Add README.md and possibly AGHTechDoc.md.
markdownlint \
./CHANGELOG.md \
./CONTRIBUTING.md \
./HACKING.md \
./SECURITY.md \
./internal/next/changelog.md \
./internal/dhcpd/*.md \
./openapi/*.md \
./scripts/*.md \
;