Update doc

This commit is contained in:
Aoran Zeng
2024-08-22 20:16:28 +08:00
parent 10d376885c
commit bc17cf3620
2 changed files with 18 additions and 9 deletions

View File

@@ -28,6 +28,12 @@
<br>
# 贡献指导
若有任何问题,可在 [GitHub discussions](https://github.com/RubyMetric/chsrc/discussions) 中询问和讨论
<br>
# 基本概念
1. `target`: 所要换源的目标
@@ -61,7 +67,16 @@
7. 构建并运行 `chsrc set <target>` 测试,若无问题可提交 Pull Request
<br>
若有任何问题,可在 [GitHub discussions](https://github.com/RubyMetric/chsrc/discussions) 中询问和讨论
# 不要制造UFO
开发准则:
1. Convention over Configuration
2. [NO UFO 原则: 不要乱丢文件到$HOME等目录尤其是使用各种隐晦的文件名](https://www.yuque.com/ccmywish/blog/no-ufo)
`chsrc` 主程序不提供配置文件,不提供数据文件,干净无污染。那么在实现 `recipe` 的时候,除了备份文件外,也不要污染用户环境。
<br>
[recipe template]: ../src/recipe/template.c