Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-kwsys.bash
3148 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 paths="
14
"
15
16
extract_source () {
17
git_archive
18
sed -i -e '/import off/,/import on/d' "$extractdir/$name-reduced/.gitattributes"
19
sed -i -e 's/project=KWSys/project=PublicDashboard/' "$extractdir/$name-reduced/CTestConfig.cmake"
20
}
21
22
export HOOKS_ALLOW_KWSYS=1
23
24
. "${BASH_SOURCE%/*}/update-third-party.bash"
25
26