mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-06 20:02:49 +08:00
chore(gitignore): 忽略 linux-schema.json 防止贡献者误提
上下文: PR #232 的作者本地在 Linux 上 tauri build 后,src-tauri/gen/schemas/ linux-schema.json 被自动生成并带进了 PR(+2606 行)。main 分支从未 commit 过这个文件(git log 无记录)。 问题: - 这个 schema 是 Linux 平台构建时自动生成的,不同 Linux 机器产出可能 不一致,容易引起 PR diff 噪声和合并冲突。 - 历史原因 desktop-schema.json / macOS-schema.json / windows-schema.json 已经被 track 了,暂不动以免其他 maintainer 的工作流受影响。 - 但 Linux schema 在本仓库从未入库,纯属贡献者本地构建副产物,应当忽略。 防护: - 在 main 的 .gitignore 加入 src-tauri/gen/schemas/linux-schema.json - 配合 review 里已经要求 PR #232 作者 git rm 该文件的 action item Refs: PR #232 review comment
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -10,6 +10,11 @@ docs/issue-solutions.md
|
||||
dist/
|
||||
src-tauri/target/
|
||||
|
||||
# Tauri build 自动生成的平台 schema(历史原因 desktop/macOS/windows 已 track;
|
||||
# Linux 平台的 schema 只在 Linux 上构建时才会生成,不同 Linux 机器产出也不一致,
|
||||
# 容易被贡献者误提到 PR 里)
|
||||
src-tauri/gen/schemas/linux-schema.json
|
||||
|
||||
# 日志
|
||||
*.log
|
||||
tauri-dev.log
|
||||
|
||||
Reference in New Issue
Block a user