| •1 |
#!/usr/bin/bashscip-shell filesystem . . `/usr/bin/bash`. |
| 2 |
|
| 3 |
REDBOLD="\033[31;1m" |
| 4 |
RESET="\033[0m" |
| 5 |
|
| 6 |
function redprintscip-shell shell shell-project 0.0.0 redprint(). |
| 7 |
{ |
| 8 |
if [scip-shell system . . `[`. "$COQ_CI_COLOR" ]; then |
| 9 |
printfscip-shell system . . printf. "$REDBOLD%s$RESET\n" "$1" |
| 10 |
else |
| 11 |
printfscip-shell system . . printf. '%s\n' "$1" |
| 12 |
fi |
| 13 |
} |
| 14 |
|
| 15 |
for f in $(gitscip-shell system . . git. ls-files "dev/ci/user-overlays/") |
| 16 |
do |
| 17 |
if ! { [[ "$f" = dev/ci/user-overlays/README.md ]] || [[ "$f" == *.sh ]]; } |
| 18 |
then |
| 19 |
>&2 redprintscip-shell shell shell-project 0.0.0 redprint(). "Bad overlay '$f'." |
| 20 |
>&2 echoscip-shell system . . echo. "User overlays need to have extension .sh to be picked up!" |
| 21 |
exit 1 |
| 22 |
fi |
| 23 |
done |