Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
197 lines (171 loc) · 5.4 KB
/
Copy path.gitignore
File metadata and controls
197 lines (171 loc) · 5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# ============================================================
# 通用规则 (General Rules)
# ============================================================
# 忽略操作系统生成的文件
.DS_Store
Thumbs.db
# 忽略日志文件
*.log
logs/
# 构建临时备份目录(safe-delete 绕过产生的 rename 残留)
dist_old_*/
src-tauri/.bundled_resources_old_*/
# Android 签名密钥(禁止提交)
*.p12
*.keystore
*.jks
keystore.properties
# 忽略配置文件和敏感信息
.env
.env.*
!.env.example
# ============================================================
# IDE 和编辑器配置 (IDE & Editor Configuration)
# ============================================================
.idea/
.vscode/*.code-workspace
.vscode/*.private.*
.vscode/settings.local.json
.vs/
# ============================================================
# Python 相关 (Python Specific)
# ============================================================
# 虚拟环境
.venv/
venv/
python-embed/
# Python 缓存和编译文件
__pycache__/
*.py[cod]
*.so
# Python 打包和构建产物,build/与dist/在通用构建产物中已包含
site/
*.egg-info/
# 测试和覆盖率报告
.pytest_cache/
.tox/
.coverage
coverage.*
htmlcov/
ling_chat/
ling_chat/*
ling_chat_python/
ling_chat_pal/
# ============================================================
# 前端和通用构建产物 (Frontend & General Build Artifacts)
# ============================================================
node_modules/
.pnpm-store/
build/
dist/
dist_old_*/
dist-windows/
target/
ling_chat/static/frontend/
# Tauri auto-generated files
# src-tauri/gen/android/ 已取消忽略(通过下级 .gitignore 控制具体排除项)
# src-tauri/gen/schemas/ 为 JSON schema 自动生成文件,可追踪
src-tauri/bundled_resources/
src-tauri/.bundled_resources/
~/.tauri/
frontend_vue/
.tsbuildinfo
src-tauri/gen/android/app/src/main/assets/
# Tauri 自动生成的图标
src-tauri/icons/*.png
src-tauri/icons/*.icns
src-tauri/icons/*.ico
src-tauri/icons/ios/*.png
# 保留源图标
!src-tauri/icons/icon.png
!src-tauri/icons/icon.icns
!src-tauri/icons/icon.ico
# Android 自动生成的资源
src-tauri/gen/android/app/src/main/assets/
src-tauri/gen/android/app/src/main/res/mipmap-*/ic_launcher*.png
src-tauri/gen/android/app/src/main/res/mipmap-anydpi-v26/
# iOS 工程与构建产物(本地 tauri ios dev/build 生成,CI 由 configure-ios-project.sh + tauri ios build 现生成)
src-tauri/gen/apple/
**/.cargo/**
# ============================================================
# 特定项目文件 (Project Specific Files)
# ============================================================
# 用户数据文件
# 数据库、聊天记录和本地数据存储
game_data.db
# 大模型文件和本地缓存,这些文件过大很大
models/
embedding_models/
Pytorch/RAG/embedding_models/
*.safetensors
*.onnx
*.data
# 发布产物
release/
data_manifest.json
emotion_labels.csv
ling_chat/third_party/emotion_model/*
ling_chat/third_party/emotion_model_19emo/*
# ============================================================
# 游戏开发资源 (Game Development Assets)
# ============================================================
# 规则:默认忽略开发中的资源,但保留部分确定要使用的文件
# 忽略 data 目录下的 其他文件,但保留 初始化资源本身
data/**
data/data_manifest.json
!data/.gitkeep
!data/game_data/
!data/third_party/
!data/third_party/emotion_model_19emo/
!data/third_party/emotion_model_19emo/.gitkeep
# 忽略 game_data/backgrounds/ 下的所有内容,但不忽略该目录本身,并保留指定的几个背景图
data/game_data/backgrounds/**
!data/game_data/backgrounds/
!data/game_data/backgrounds/白天.webp
!data/game_data/backgrounds/夜晚.webp
!data/game_data/backgrounds/占卜摊2.webp
!data/game_data/backgrounds/夕阳.webp
# 忽略 game_data/characters/ 下的所有内容,但不忽略该目录本身,并保留指定的几个角色图
data/game_data/characters/**
!data/game_data/characters/
!data/game_data/characters/诺一钦灵/
!data/game_data/characters/诺一钦灵/**
!data/game_data/characters/风雪/
!data/game_data/characters/风雪/**
!data/game_data/characters/DeepSeek/
!data/game_data/characters/DeepSeek/**
# 忽略 game_data/musics/ 目录下的所有内容,但保留指定的音效文件
data/game_data/musics/**
!data/game_data/musics/
!data/game_data/musics/夜晚音效.mp3
# 忽略 game_data/scripts/ 目录下的所有内容,但保留指定的剧本文件
data/game_data/scripts/**
!data/game_data/scripts/
data/game_data/scripts/character/**
!data/game_data/scripts/character/诺一钦灵/
!data/game_data/scripts/character/风雪/
!data/game_data/scripts/character/DeepSeek/
!data/game_data/scripts/standalone/
data/game_data/scripts/standalone/**
!data/game_data/scripts/character/**
# Skill Agent 技能库(AI 助手读取的 SKILL.md 技能)
data/game_data/skills/**
!data/game_data/skills/
!data/game_data/skills/**/
!data/game_data/skills/**/*
# 插件,仅示例插件保留
data/plugins/*
!data/plugins/tavily/
# ============================================================
# 文档和其他工具 (Documentation & Other Tools)
# ============================================================
# Obsidian 笔记工具的配置和回收站
.obsidian/
.trash/
# 其他工具目录
.openmcp/
.claude
CLAUDE.md
AGENTS.md
# 本地 APK build 路径
prev-build-*/