Files
concrete/script/make_utils/serialize_targets.sh
Arthur Meyre 5d26ad499a fix(build): properly serialize calls to mypy
- add an helper script to serialize make commands
- serialize mypy commands as they may overwrite each others cache
- format coverage command to avoid being ridiculously long
2021-08-18 12:23:53 +02:00

15 lines
172 B
Bash
Executable File

#!/bin/bash
set +e
EXIT_CODE=0
for make_target in "$@"; do
make "${make_target}"
if [[ "$?" != "0" ]]; then
EXIT_CODE=1
fi
done
exit "${EXIT_CODE}"