chore: 后端 .gitignore 补正(忽略 test/ 非必须目录)

按"上传目的=运行必须源码"准则,test/ 为代码运行非必须目录,须排除;修正此前误写的 test_dir/ 归类,新增明确 Tests 段覆盖 test/ 与 test_dir/。
This commit is contained in:
WorkBuddy
2026-08-17 12:34:27 +08:00
parent a303cf2d53
commit f281d206fb

3
.gitignore vendored
View File

@@ -45,4 +45,7 @@ app/public/news/
app/public/carousel/
app/public/tmp/
app/public/exports/
# Tests (non-required; code runs without them) — 上传目的=运行必须,test 不入库
test/
test_dir/