✨ feat(templates): add gitea ci example
This commit is contained in:
@@ -39,6 +39,7 @@ Playbook:TSL(`.tsl`/`.tsf`)+ C++ + Python 工程规范与代理规则合
|
||||
- `docs/python/configuration.md`:Python 配置清单(落地时从 `templates/python/` 复制到项目根目录)。
|
||||
- `templates/cpp/`:C++ 落地模板(`.clang-format`、`conanfile.txt`、`CMakeUserPresets.json`、`CMakeLists.txt`)。
|
||||
- `templates/python/`:Python 落地模板(`pyproject.toml` 工具配置、`.flake8`、`.pylintrc`、`.pre-commit-config.yaml`、`.editorconfig`、`.vscode/settings.json`)。
|
||||
- `templates/ci/`:目标项目 CI 示例模板(如 Gitea Actions),用于自动化校验部分规范。
|
||||
|
||||
## .agents/(代理规则)
|
||||
|
||||
@@ -246,7 +247,7 @@ sh docs/standards/playbook/scripts/sync_standards.sh tsl cpp
|
||||
|
||||
脚本会:
|
||||
|
||||
- 生成裁剪快照到 `docs/standards/playbook/`(包含 `docs/common/` + 选定语言目录 + 对应 `.agents/<lang>/` + `scripts/` + `.gitattributes` + 相关 `templates/<lang>/`)
|
||||
- 生成裁剪快照到 `docs/standards/playbook/`(包含 `docs/common/` + 选定语言目录 + 对应 `.agents/<lang>/` + `scripts/` + `.gitattributes` + 通用 `templates/ci/` + 相关 `templates/<lang>/`)
|
||||
- 自动执行 `docs/standards/playbook/scripts/sync_standards.*`,把 `.agents/<lang>/` 与 `.gitattributes` 落地到目标项目根目录
|
||||
- 生成 `docs/standards/playbook/SOURCE.md` 记录来源与版本信息
|
||||
|
||||
|
||||
Reference in New Issue
Block a user