rust-nex/check-all.sh

13 lines
310 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2026-04-26 14:57:02 +02:00
set -euo pipefail
2026-04-26 14:39:05 +02:00
EDITIONS=$(yq ea "." editions.yaml | yq 'keys[]')
IFS=$'\n'
while IFS=$'\n' read -r EDITION; do
if [[ $(yq ea ".$EDITION.include-in-checkall" editions.yaml) == "true" ]]
then
export EDITION
./check-edition.sh $EDITION
fi
done <<< "$EDITIONS"