/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/scripts/xcode/ccache-clang.sh
14 строк
498 B
Stefano Formicola
Add CCACHE_BINARY path to Xcode build settings and use it in ccache scripts (#48257)
16 дек 2024, 21:58
16 дек 2024, 21:58
d31ac83
Код
Авторство
О чём код?
#!/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_BINARY clang "$@"