Skip to content

Commit 6ad626d

Browse files
committed
Update Rules.
1 parent ad35d80 commit 6ad626d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.codebuddy/rules/Build.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ alwaysApply: true
88
修改代码后,使用以下命令验证编译。必须传递 `-DPAG_BUILD_TESTS=ON` 以启用所有模块触发编译。
99

1010
```bash
11-
cmake -DPAG_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug
12-
cmake --build cmake-build-debug --target PAGFullTest -- -j 12
11+
cmake -G Ninja -DPAG_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug
12+
cmake --build cmake-build-debug --target PAGFullTest
1313
```
1414

15+
1516
## 测试框架
1617
- 测试用例位于 `test/src/`,基于 Google Test 框架
1718
- 测试代码可通过编译参数访问所有 private 成员,无需 friend class

.codebuddy/rules/Workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: 当用户发送Github PR链接、要求审查代码、或需要提交代码、发起PR时
3-
alwaysApply: false
3+
alwaysApply: true
44
---
55

66
## 代码审查要点

0 commit comments

Comments
 (0)