cmake/Utilities/Scripts/update-zstd.bash

37 lines
696 B
Bash
Raw Normal View History

2019-11-11 23:01:05 +01:00
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="zstd"
readonly ownership="zstd upstream <kwrobot@kitware.com>"
readonly subtree="Utilities/cmzstd"
readonly repo="https://github.com/facebook/zstd.git"
2024-07-09 14:46:46 +02:00
readonly tag="v1.5.5"
2019-11-11 23:01:05 +01:00
readonly shortlog=false
readonly paths="
LICENSE
README.md
lib/common/*.c
lib/common/*.h
lib/compress/*.c
lib/compress/*.h
lib/decompress/*.c
lib/decompress/*.h
lib/deprecated/*.c
lib/deprecated/*.h
lib/dictBuilder/*.c
lib/dictBuilder/*.h
2021-11-20 13:41:27 +01:00
lib/*.h
2019-11-11 23:01:05 +01:00
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"