mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
Summary: Refactoring the codegen buck target from being used just for testing to a way that can be depended on for the real fabric target to replace the existing component code. After this change, we can build a target for react native to use the codegen to create the native files for Switch. A follow up diff will be necessary to hook this up and actually replace the native files for switch. Reviewed By: mdvacca Differential Revision: D13662363 fbshipit-source-id: 599dd9ed9ca24ffb5c5784396f4bee7457d94d6d
12 lines
309 B
Bash
Executable File
12 lines
309 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -u
|
|
|
|
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
|
|
|
|
# shellcheck source=xplat/js/env-utils/setup_env_vars.sh
|
|
source "$THIS_DIR/../../../env-utils/setup_env_vars.sh"
|
|
|
|
exec "$FLOW_NODE_BINARY" "$THIS_DIR/combine-js-to-schema.js" "$@"
|