Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-zstd.bash
4998 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="zstd"
8
readonly ownership="zstd upstream <[email protected]>"
9
readonly subtree="Utilities/cmzstd"
10
readonly repo="https://github.com/facebook/zstd.git"
11
readonly tag="v1.5.7"
12
readonly shortlog=false
13
readonly exact_tree_match=false
14
readonly paths="
15
LICENSE
16
README.md
17
lib/common/*.c
18
lib/common/*.h
19
lib/compress/*.c
20
lib/compress/*.h
21
lib/decompress/*.c
22
lib/decompress/*.h
23
lib/deprecated/*.c
24
lib/deprecated/*.h
25
lib/dictBuilder/*.c
26
lib/dictBuilder/*.h
27
lib/*.h
28
"
29
30
extract_source () {
31
git_archive
32
pushd "${extractdir}/${name}-reduced"
33
echo "* -whitespace" > .gitattributes
34
popd
35
}
36
37
. "${BASH_SOURCE%/*}/update-third-party.bash"
38
39