mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 22:10:31 +08:00
scripts, build: Name all scripts *.sh
… so that `just check-scripts` actually finds all of them.
This commit is contained in:
Executable
+19
@@ -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
|
||||
Reference in New Issue
Block a user