mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix: make sure that parallelized lint-all
runs incl. python scripts
This commit is contained in:
parent
e220175d0f
commit
f77eca9256
@ -30,13 +30,13 @@ if ! command -v parallel > /dev/null; then
|
|||||||
else
|
else
|
||||||
SCRIPTS=()
|
SCRIPTS=()
|
||||||
|
|
||||||
for f in "${SCRIPTDIR}"/lint-*.sh; do
|
for f in "${SCRIPTDIR}"/lint-*; do
|
||||||
if [ "$(basename "$f")" != "$LINTALL" ]; then
|
if [ "$(basename "$f")" != "$LINTALL" ]; then
|
||||||
SCRIPTS+=("$f")
|
SCRIPTS+=("$f")
|
||||||
fi
|
fi
|
||||||
done
|
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"
|
echo "^---- failure generated"
|
||||||
EXIT_CODE=1
|
EXIT_CODE=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user