mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo.git
synced 2026-09-21 16:52:01 -07:00
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.
17 lines
533 B
Bash
Executable File
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"
|