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