refactor: remove portal deployment coupling

This commit is contained in:
2026-08-05 06:58:19 +02:00
parent fd1fd2f802
commit 5d037e97c4
25 changed files with 265 additions and 452 deletions
+13
View File
@@ -44,4 +44,17 @@ printf 'FROM scratch\n' > "$fixture_root/Dockerfile"
"$repo_root/scripts/verify-line-endings.sh" "$fixture_root"
git_fixture="$fixture_root/git-worktree"
mkdir -p "$git_fixture"
git -C "$git_fixture" init -q
printf 'tracked then deleted\n' >"$git_fixture/deleted.md"
git -C "$git_fixture" add deleted.md
rm "$git_fixture/deleted.md"
git_output="$(cd "$git_fixture" && "$repo_root/scripts/verify-line-endings.sh" 2>&1)"
if grep -Fq 'No such file or directory' <<<"$git_output"; then
echo "line-ending verifier tried to read a tracked deletion" >&2
exit 1
fi
echo "line-ending verifier tests passed"