Files
Alex Hunt 5fe782a800 Move cxx-api scripts under scripts/, add README (#52467)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52467

Moves the WIP `cxx-public-api` project under `scripts/cxx-api/`, add minimal README docs.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D77865490

fbshipit-source-id: ce49845386c468ee7422b864c49f2a8c9eed5a70
2025-07-07 15:04:37 -07:00

22 lines
412 B
Markdown

# scripts/cxx-api
[Experimental] Build scripts for React Native's C++ / Objective-C / Objective-C++ API.
## Usage
#### Build API snapshot
Builds a `ReactNativeCPP.api` file to the `output` location configured in `public-api.conf`.
```sh
yarn cxx-api-build
```
#### Check API snapshot
Prints a warning message with the API snapshot diff since the previous commit.
```sh
./scripts/cxx-api/check-api.sh
```