scripts, build: Name all scripts *.sh

… so that `just check-scripts` actually finds all of them.
This commit is contained in:
Lorenz Leutgeb
2026-10-30 12:48:00 +01:00
parent c7d71df4ab
commit 244a8b6fca
11 changed files with 22 additions and 22 deletions
+19
View File
@@ -0,0 +1,19 @@
#! /usr/bin/env sh
set -e
DIRECTORY="$(rad path)/storage"
if [ ! -d "$DIRECTORY" ]; then
echo "Error: Directory $DIRECTORY does not exist or is not accessible."
exit 1
fi
for repo in "$DIRECTORY"/*; do
if [ -d "$repo" ]; then
rid=$(basename "$repo")
echo "Processing rad:$rid.."
rad issue cache --repo "rad:$rid"
rad patch cache --repo "rad:$rid"
echo
fi
done