Files
2026-06-18 22:52:43 +10:00

20 lines
475 B
Bash
Executable File

#!/usr/bin/env bash
#
# test — run all Swift Package tests (BrewKit + BrewUILint).
#
# Mirrors what CI runs in .github/workflows/pr_build_test.yml, so green
# locally means green on CI.
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR"
echo "==> BrewKit package tests"
xcrun swift test --package-path .
echo "==> BrewUILint package tests"
xcrun swift test --package-path Tools/BrewUILint
echo "==> All package tests passed."