mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Fixes some shellcheck warnings that arose in D36295406 (https://github.com/facebook/react-native/commit/ae28880fbc6b5c03c324be7dc0eeb80827ad2299) when the Hermes build scripts were copied over. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D36321074 fbshipit-source-id: 0eae36a4f793daa0e12786ba7989d4eac6b2e256
17 lines
588 B
Bash
Executable File
17 lines
588 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.
|
|
|
|
# shellcheck source=xplat/js/react-native-github/sdks/hermes-engine/utils/build-apple-framework.sh
|
|
. ./utils/build-apple-framework.sh
|
|
|
|
if [ ! -d destroot/Library/Frameworks/macosx/hermes.framework ]; then
|
|
mac_deployment_target=$(get_mac_deployment_target)
|
|
|
|
build_apple_framework "macosx" "x86_64;arm64" "$mac_deployment_target"
|
|
else
|
|
echo "Skipping; Clean \"destroot\" to rebuild".
|
|
fi
|