You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename --check flag to --validate in C++ public API parser (#56253)
Summary:
Pull Request resolved: #56253
Renames flag for verifying that the C++ public API snapshot is with sync with the actual public API surface to match the JS API command.
Changelog:
[Internal]
Reviewed By: huntie
Differential Revision: D98484129
Copy file name to clipboardExpand all lines: scripts/cxx-api/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,15 @@ Maintainers should run this command whenever making intentional C++ API changes:
31
31
python -m scripts.cxx-api.parser
32
32
```
33
33
34
-
#### Check snapshots against committed baseline
34
+
#### Validate snapshots against committed baseline
35
35
36
36
This mode generates snapshots to a temporary directory and compares them against the committed `.api` files. It is designed for CI:
37
37
38
38
```sh
39
-
python -m scripts.cxx-api.parser --check
39
+
python -m scripts.cxx-api.parser --validate
40
40
```
41
41
42
-
If any snapshot differs, a unified diff is printed and the process exits with a non-zero status. To fix a failing check, regenerate the snapshots with `python -m scripts.cxx-api.parser` and commit the updated `.api` files.
42
+
If any snapshot differs, a unified diff is printed and the process exits with a non-zero status. To fix a failing validation, regenerate the snapshots with `python -m scripts.cxx-api.parser` and commit the updated `.api` files.
0 commit comments