/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
compiler/scripts/hash.sh
11 строк
362 B
Joe Savona
Update copyrights to reference Meta instead of Facebook
03 апр 2024, 18:43
03 апр 2024, 18:43
f33e638
Код
Авторство
О чём код?
#!/usr/bin/env 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 -eo pipefail # Hashes JS files in the provided directory to create a cache-breaker find $1 -name '*.js' | sort | xargs shasum | shasum | awk '{ print $1 }'