Files
hackathon-v-escape-4ff8b5a6…/frontend/node_modules/react-native/scripts/xcode/ccache-clang++.sh
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00

15 lines
492 B
Bash
Executable File

#!/bin/sh
# 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.
# Get the absolute path of this script
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
REACT_NATIVE_CCACHE_CONFIGPATH=$SCRIPT_DIR/ccache.conf
# Provide our config file if none is already provided
export CCACHE_CONFIGPATH="${CCACHE_CONFIGPATH:-$REACT_NATIVE_CCACHE_CONFIGPATH}"
exec ccache clang++ "$@"