Files
Chris Troutner 752bf2cff6 Guard mutation runs against differential under-selection
The default differential run can select fewer covered sites than exist after a
function is added or removed, forcing a manual --mutate-all rerun. Add
mutate-file.sh (auto-reruns when Selected < Covered) and clean-builds.sh
(removes worker-copy bloat), and document them plus the intrinsic upper-bound
Gherkin survivors in the architect cheat-sheet.

By specifier.
2026-09-15 18:27:58 -07:00

17 lines
533 B
Bash
Executable File

#!/usr/bin/env bash
# Remove gitignored build directories that bloat mutate4javascript worker
# copies and make mutation runs appear to hang.
#
# Usage: clean-builds.sh
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
for component in psf-memo-client psf-memo-db psf-memo-indexer; do
rm -rf "$ROOT/$component/tmp/acceptance" \
"$ROOT/$component/target/mutation-workers"
done
echo "clean-builds: removed tmp/acceptance and target/mutation-workers for all components"