WIP: Converts runs to be text files of packages to install / uninstall, begins before and after scripts to execute during runs.

This commit is contained in:
2025-11-09 22:15:29 -05:00
parent 381a0450e5
commit 9c007c9434
23 changed files with 259 additions and 206 deletions

23
runs/after/dev Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
install() {
# TODO: Handle install / uninstall.
bob install nightly &&
bob install stable &&
bob use nightly
}
uninstall() {
echo "FIX ME!"
}
arg=${1:-""}
if [[ $arg == "install" ]]; then
install && exit $?
elif [[ $arg == "uninstall" ]]; then
uninstall && exit $?
else
# TODO: Using logging.
echo "Error, invalid option" && exit 1
fi