/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Utilities/Scripts/update-librhash.bash
46 строк
985 B
AJIOB
cmd: implement json version output
03 фев 2026, 09:34
03 фев 2026, 09:34
39a3915
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e set -x shopt -s dotglob readonly name="librhash" readonly ownership="librhash upstream <kwrobot@kitware.com>" readonly subtree="Utilities/cmlibrhash" readonly repo="https://github.com/rhash/rhash.git" readonly tag="v1.4.4" # When updating, sync version in cmVersion_Dependencies.cxx! readonly shortlog=false readonly exact_tree_match=false readonly paths=" COPYING librhash/algorithms.c librhash/algorithms.h librhash/byte_order.c librhash/byte_order.h librhash/hex.c librhash/hex.h librhash/md5.c librhash/md5.h librhash/rhash.c librhash/rhash.h librhash/sha1.c librhash/sha1.h librhash/sha256.c librhash/sha256.h librhash/sha3.c librhash/sha3.h librhash/sha512.c librhash/sha512.h librhash/ustd.h librhash/util.c librhash/util.h " extract_source () { git_archive pushd "${extractdir}/${name}-reduced" echo "* -whitespace" > .gitattributes popd } . "${BASH_SOURCE%/*}/update-third-party.bash"