Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-kwsys.bash
4998 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="KWSys"
8
readonly ownership="KWSys Upstream <[email protected]>"
9
readonly subtree="Source/kwsys"
10
readonly repo="https://gitlab.kitware.com/utils/kwsys.git"
11
readonly tag="master"
12
readonly shortlog=true
13
readonly exact_tree_match=false
14
readonly paths="
15
"
16
17
extract_source () {
18
git_archive
19
sed -i -e '/import off/,/import on/d' "$extractdir/$name-reduced/.gitattributes"
20
sed -i -e 's/project=KWSys/project=PublicDashboard/' "$extractdir/$name-reduced/CTestConfig.cmake"
21
}
22
23
export HOOKS_ALLOW_KWSYS=1
24
25
. "${BASH_SOURCE%/*}/update-third-party.bash"
26
27