[control] Clippy clean for the T4 code; CLAUDE.md: the deploy folders and the Linux test command in Docker; the Docker smoke turns off Git Bash's path rewriting and removes its volume

This commit is contained in:
2026-11-17 21:18:19 +01:00
parent defd722cc2
commit 695ed178a5
5 changed files with 18 additions and 4 deletions
+4
View File
@@ -10,6 +10,9 @@
#
# scripts/smoke-docker.sh <image> <ianitor-control binary for the offline root> <work dir>
set -euo pipefail
# Git Bash on Windows rewrites /paths in arguments and the environment of Windows programs
# (docker.exe); the paths here are the container's.
export MSYS_NO_PATHCONV=1 MSYS2_ENV_CONV_EXCL='*'
IMAGE=$1 CTL=$2 WORK=$3
REPO=$(cd "$(dirname "$0")/.." && pwd)
@@ -24,6 +27,7 @@ fail() { echo "FAILED: $*" >&2; exit 1; }
cleanup() {
"${DC[@]}" down -v --remove-orphans >/dev/null 2>&1 || true
docker rm -f $P-app >/dev/null 2>&1 || true
docker volume rm ${P}_state >/dev/null 2>&1 || true
}
trap cleanup EXIT
[ ! -e "$WORK" ] || fail "$WORK exists; give a new folder"