mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-13 03:28:03 +08:00
Summary: When we actually use the codegen we will be passing in a path to a schema. Refactoring the existing buck rules to take a path to a schema instead of a fixture name so it can be reused. Reviewed By: mdvacca Differential Revision: D13619358 fbshipit-source-id: 1180d2e80c11b93f3cbdb0f9e848ae37bff199f4
12 lines
301 B
Bash
Executable File
12 lines
301 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/copy-fixture.js" "$@"
|