chore(M00-A): 建立单仓库基线和参考清单

This commit is contained in:
Codex
2026-06-15 15:34:50 +08:00
commit 28613b2093
62 changed files with 5830 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
curl -fsS --max-time 10 https://api.txyundm.cn/app-api/health
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
echo "WSL env:"
uname -a
command -v bash >/dev/null
command -v git >/dev/null
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
ssh -T -p 2222 git@git.txyundm.cn
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
cd /mnt/d/qipai
test "$(git rev-parse --show-toplevel)" = "/mnt/d/qipai"
test "$(git branch --show-current)" = "main"
git status --short --branch --untracked-files=all
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
rm -rf "${HOME}/qipai-wsl-test"
echo "Cleaned ${HOME}/qipai-wsl-test"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
echo "MQTT smoke test placeholder. Configure host/user/password outside Git before use."
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
src="/mnt/d/qipai"
dst="${HOME}/qipai-wsl-test"
rm -rf "${dst}"
mkdir -p "${dst}"
rsync -a --exclude .git --exclude node_modules --exclude dist --exclude build "${src}/" "${dst}/"
echo "Prepared ${dst}"
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
cd /mnt/d/qipai
bash -n setup.sh
for file in scripts/dev/wsl/*.sh; do
bash -n "$file"
done
echo "PASS: Linux shell syntax checks passed."