Skip to content

Commit

Permalink
Fix rncore generation for React-Fabric.podspec following 98b03fa (fac…
Browse files Browse the repository at this point in the history
…ebook#25437)

Summary:
This PR adjusts rncore generation to the flow parser based approach introduced in 98b03fa.

## Changelog

[Internal] [Fixed] - Fix iOS build of RNTester with fabric_enabled
Pull Request resolved: facebook#25437

Test Plan:
As far as I see currently there's no automated testing for the RNTester build with `fabric_enbaled` set to `true`.

The quickest way to test this PR is building RNTester using cocoapods with `fabric_enabled`.

Differential Revision: D16071362

Pulled By: cpojer

fbshipit-source-id: 05d96686ea2d7c8c04f05eb7840c9eacff5a2738
  • Loading branch information
wokalski authored and M-i-k-e-l committed Mar 10, 2020
1 parent 08e476a commit 809d24a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generate-rncore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
# to a location that the podspecs expect.

# shellcheck disable=SC2038
find "$PWD/../Libraries" -name "*Schema.js" -print | xargs yarn flow-node packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js schema-rncore.json

find "$PWD/../Libraries" -name "*NativeComponent.js" -print | xargs yarn flow-node packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js schema-rncore.json
yarn flow-node packages/react-native-codegen/buck_tests/generate-tests.js schema-rncore.json rncore ReactCommon/fabric/components/rncore

0 comments on commit 809d24a

Please sign in to comment.