feat: added SKIP_CHECK for skipping checks

This commit is contained in:
Strix 2023-10-26 14:45:04 +02:00
parent a44e857e80
commit 56ed7fb9cb
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -2,7 +2,8 @@
set -e set -e
set -o pipefail set -o pipefail
for c in tools/repo/check.d/*; do
[ "${SKIP_CHECK:-no}" = "yes" ] || for c in tools/repo/check.d/*; do
echo "running $c..." echo "running $c..."
$c | while read line; do $c | while read line; do
echo "$c: $line" echo "$c: $line"