mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5fe782a800
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
22 lines
412 B
Markdown
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
|
|
```
|