react-native-macos/scripts/react_native_pods_utils
Sota Ogo 9827b4adcf Refactor script_phases script out of react_native_pods.rb (#32764)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32764

Changelog: [Internal] This diff refactors react_native_pods.rb so that it's a bit more readable/maintainable.

With the intorduction of the codegen discovery script, we have two script phases that shares some code. I've factored it out of the main file and wrote a snapshot test so that it's easier to see the output script file.

Reviewed By: cortinico

Differential Revision: D33045541

fbshipit-source-id: 9c80b5d7e11862cc44275e36882487a7d63e8125
2021-12-15 16:23:29 -08:00
..
__tests__ react_native_pods.rb Add snapshot tests for script_phases scripts 2021-12-14 21:27:31 -08:00
script_phases.rb Refactor script_phases script out of react_native_pods.rb (#32764) 2021-12-15 16:23:29 -08:00
script_phases.sh Move script_phases script out of ruby file. 2021-12-14 21:27:31 -08:00