mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d6e8c061cd
Summary: Use the hard-coded config for Helloworld instead of assuming the community cli is there to generate a config, which we can no longer assume. Changelog: [Internal] Pull Request resolved: https://github.com/facebook/react-native/pull/45221 Test Plan: This works in my local environment: ``` bundle exec pod install ``` and ``` ./gradlew generateAutolinkingPackageList ``` Changelog: [Internal] Reviewed By: javache Differential Revision: D59162715 Pulled By: blakef fbshipit-source-id: 95ff2c3929f12ee0ecf468cb80d2df1281eb746e
15 lines
457 B
Bash
Executable File
15 lines
457 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")")
|
|
|
|
HELLOWORLD_PATH=$(realpath ../)
|
|
REACT_NATIVE_PATH=$(realpath ../../react-native)
|
|
|
|
sed -e "s|HELLOWORLD_PATH|$HELLOWORLD_PATH|g" -e "s|REACT_NATIVE_PATH|$REACT_NATIVE_PATH|g" "$script_dir/../.react-native.config"
|