install scripts. reorganization. soon to be deployable

This commit is contained in:
2025-05-24 04:08:28 -05:00
parent 5010e57533
commit e966d5328d
242 changed files with 407 additions and 45 deletions

17
run.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)"
if [ "$1" != "" ]; then
if [ "$1" == "ls" ]; then
ls "$script_dir/runs"
else
. "$script_dir/runs/$1.sh"
fi
else
for s in $runs_dir; do
echo running $s
. "$s"
done
fi