fix: 修复 .gitignore 未锚定目录规则误伤源码(幽灵bug)
deploy-hxtesting / build-and-deploy (push) Successful in 1m52s
deploy-hxtesting / build-and-deploy (push) Successful in 1m52s
- artifacts/ 等未锚定规则会命中任意层级同名目录,导致 frontend/src/views/artifacts/ArtifactLibrary.vue(路由动态导入)、 cli/internal/build/(cli 模块源码)、cmd/desktop/build/(桌面构建资产) 从未入库——本机正常、他人克隆后构建必挂 - 修复: 锚定仓库根 /artifacts/ /dist/ /build/ /tmp/ /temp/ /logs/;补 frontend/dist/ - 找回 6 个被吞文件;顺带清理改名产生的重复规则行
This commit is contained in:
1 parent
04e93935a5
commit
746ecfaa34
7 files changed
+1021
-11
No files matched your search
+8
-11
@@ -6,7 +6,6 @@
|
||||
!.gitignore
|
||||
!.gitattributes
|
||||
!.github/
|
||||
!.gitea/
|
||||
!.dockerignore
|
||||
!.golangci.yml
|
||||
!.air.toml
|
||||
@@ -23,22 +22,22 @@
|
||||
*.swo
|
||||
|
||||
# 构建和依赖文件
|
||||
# 注意:目录规则锚定仓库根(/dist/),避免误伤源码目录(如 frontend/src/views/artifacts/)
|
||||
node_modules/
|
||||
dist/
|
||||
build/
|
||||
/dist/
|
||||
frontend/dist/
|
||||
/build/
|
||||
*.log
|
||||
|
||||
# 临时文件
|
||||
tmp/
|
||||
temp/
|
||||
logs/
|
||||
/tmp/
|
||||
/temp/
|
||||
/logs/
|
||||
*.pid
|
||||
|
||||
# 本机构建产物(不入库;仅限仓库根目录,勿误伤 frontend/src/views/artifacts/ 等源码目录)
|
||||
# 本机构建产物(不入库)
|
||||
/artifacts/
|
||||
Academy
|
||||
Academy
|
||||
Academy-lite
|
||||
Academy-lite
|
||||
cmd/desktop/build/bin/
|
||||
/models/
|
||||
@@ -57,7 +56,6 @@ web/
|
||||
frontend/.vite
|
||||
frontend/chrome-extension/
|
||||
Academy-Chrome-Extension
|
||||
Academy-Chrome-Extension
|
||||
packages/protoc-3.19.4-linux-x86_64.zip
|
||||
|
||||
Claude.md
|
||||
@@ -71,7 +69,6 @@ miniprogram/project.private.config.json
|
||||
|
||||
# Staging dir for the Docker sandbox self-check probe (removed after each run)
|
||||
.academy-sandbox-check-*
|
||||
.academy-sandbox-check-*
|
||||
|
||||
# Locally built BrowserSkill runtime and extension bundles
|
||||
/artifacts/browserskill/
|
||||
Reference in new issue
Block a user