fix: make sure that parallelized lint-all runs incl. python scripts

This commit is contained in:
Kittywhiskers Van Gogh 2024-11-23 17:49:16 +00:00
parent e220175d0f
commit f77eca9256
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -30,13 +30,13 @@ if ! command -v parallel > /dev/null; then
else
SCRIPTS=()
for f in "${SCRIPTDIR}"/lint-*.sh; do
for f in "${SCRIPTDIR}"/lint-*; do
if [ "$(basename "$f")" != "$LINTALL" ]; then
SCRIPTS+=("$f")
fi
done
if ! parallel --jobs 100% --will-cite --joblog parallel_out.log bash ::: "${SCRIPTS[@]}"; then
if ! parallel --jobs 100% --will-cite --joblog parallel_out.log ::: "${SCRIPTS[@]}"; then
echo "^---- failure generated"
EXIT_CODE=1
fi