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