mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 22:28:09 +00:00
Summary: This is the first step in organizing React Native slightly differently. This doesn't set up a "monorepo" structure for the GitHub repo yet, it merely moves a few files around and I slightly updated the package.json file for the codegen project. Reviewed By: rickhanlonii, TheSavior Differential Revision: D13974180 fbshipit-source-id: f53375f3b6618ef12658064cb1fc690ef1f95299
16 lines
381 B
Bash
Executable File
16 lines
381 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"
|
|
|
|
pushd "$THIS_DIR/.." >/dev/null
|
|
"$INSTALL_NODE_MODULES"
|
|
popd >/dev/null
|
|
|
|
exec "$FLOW_NODE_BINARY" "$THIS_DIR/generate-tests.js" "$@"
|