Files
dotfiles/tests/run.sh
T

15 lines
508 B
Bash
Raw Normal View History

#!/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` 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
exit "$status"