mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49526 Changelog: [Internal] Introduce a binary tester for Fantom that will be used in runner when ready so OSS can run integration tests. Here: - Add BUCK target - Add CMake target Reviewed By: cortinico Differential Revision: D69800975 fbshipit-source-id: 57e135e2a1cbfb88e0141ddc7859b9a29365ee1f
15 lines
492 B
Bash
Executable File
15 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
|
BUILD_DIR="$SCRIPT_DIR/build"
|
|
REACT_NATIVE_ROOT_DIR=$(readlink -f "$SCRIPT_DIR/../../react-native")
|
|
|
|
cmake -S "$SCRIPT_DIR" -B "$BUILD_DIR" -DREACT_COMMON_DIR="${REACT_NATIVE_ROOT_DIR}/ReactCommon"
|
|
cmake --build "$BUILD_DIR" --target fantom_tester
|