更新文档

This commit is contained in:
Aoran Zeng committed 2026-03-25 11:58:07 +08:00
1 parent f1f65f3fd3
commit c91c65e54d
3 files changed
+15 -6

No files matched your search

+2 -2
View File
@@ -1,3 +1,3 @@
# 向 chsrc 项目贡献
# 向 `chsrc` 项目贡献
请阅读 [./doc/02-提交与贡献.md](./doc/02-提交与贡献.md)
请阅读 [./doc/README.md](./doc/README.md)
+5 -3
View File
@@ -3,11 +3,11 @@
! -------------------------------------------------------------
! Doc Type : Markdown
! Doc Name : 01-开发与构建.md
! Doc Authors : 曾奥然 <ccmywish@qq.com>
! Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
! Doc Authors : @ccmywish
! Contributors : @Mikachu2333
! |
! Created On : <2024-12-27>
! Last Modified : <2025-10-11>
! Last Modified : <2026-03-25>
! ---------------------------------------------------------- -->
# 开发 chsrc
@@ -57,6 +57,8 @@ git clone https://gitee.com/RubyMetric/chsrc.git -b dev
**如果你使用 `just`,可以在 VS Code 中获得更好的体验,按 `Ctrl-Shift-B` 直接使用 DEV mode 构建**
**注意: `DEBUG` 模式下, 执行任意一个 `recipe` 的任意操作,会额外检查所有 `_prelude()` 是否能正常工作,如: `./chsrc-debug ls <recipe>`**
```bash
just (b) # 在Windows上默认使用 gcc 编译,在macOS上默认使用 clang 编译,在其他系统上默认使用 cc 编译
just CC=clang # 使用 clang 编译
+8 -1
View File
@@ -50,7 +50,7 @@ chef_register_contributor ("@ID: 你的GitHub/Gitee用户名或任意不与其
chef_set_sources_last_updated (this, "YYYY-MM-DD");
```
3. **将自己加入 `sauciers`**(次要贡献者列表,将计数加一并附上自己的 GitHub handle):
3. **将自己加入 `sauciers`**(次要贡献者列表,将计数加一并添加自己的 `@ID`):
```c
// 原来是 0 个 saucier:
chef_set_sauciers (this, 0);
@@ -63,6 +63,13 @@ chef_register_contributor ("@ID: 你的GitHub/Gitee用户名或任意不与其
chef_set_sauciers (this, 2, "@Someone", "@你刚注册的ID");
```
4. **验证上述信息正确**
```sh
# 应当能看到你的信息
./chsrc ls <recipe>
```
<br>