diff --git a/packages/react-native-fantom/download.bat b/packages/react-native-fantom/download.bat new file mode 100644 index 000000000000..d407473cd66d --- /dev/null +++ b/packages/react-native-fantom/download.bat @@ -0,0 +1,9 @@ +:: 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. +@echo off + +pushd ..\.. +call gradlew.bat prepareNative3pDependencies +popd diff --git a/packages/react-native-fantom/tester/build.bat b/packages/react-native-fantom/tester/build.bat new file mode 100644 index 000000000000..84233fa90c19 --- /dev/null +++ b/packages/react-native-fantom/tester/build.bat @@ -0,0 +1,15 @@ +:: 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. + +@echo off + +setlocal enabledelayedexpansion + +set SCRIPT_DIR=%~dp0\ +set BUILD_DIR=%SCRIPT_DIR%build +set REACT_NATIVE_ROOT_DIR=%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