Files
dotfiles/tests/run.sh
T

18 lines
583 B
Bash
Executable File

#!/usr/bin/env bash
# Run the dotfiles configuration checks that need the live machine.
#
# The launcher check builds the zshrc from the home-manager configuration and
# runs `fm`, `fm-oc2`, and `fm-pi` with spies. The dispatch check reads the crew
# dispatch config through firstmate's bootstrap validator. Neither starts a real
# agent session.
set -euo pipefail
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)
status=0
"$ROOT/tests/fm-launcher.sh" || status=1
"$ROOT/tests/crew-dispatch.sh" || status=1
"$ROOT/tests/rebuild-update-steps.sh" || status=1
exit "$status"