Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-cppdap.bash
3151 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="cppdap"
8
readonly ownership="cppdap Upstream <[email protected]>"
9
readonly subtree="Utilities/cmcppdap"
10
readonly repo="https://github.com/google/cppdap.git"
11
readonly tag="c69444ed76f7468b232ac4f989cb8f2bdc100185" # 2024-08-02
12
readonly shortlog=false
13
readonly paths="
14
LICENSE
15
include
16
src
17
"
18
19
extract_source () {
20
git_archive
21
22
pushd "${extractdir}/${name}-reduced"
23
echo "* -whitespace" > .gitattributes
24
fromdos LICENSE include/dap/* src/*
25
echo "" >> LICENSE
26
echo "" >> src/content_stream.cpp
27
echo "" >> src/nlohmann_json_serializer.h
28
popd
29
}
30
31
. "${BASH_SOURCE%/*}/update-third-party.bash"
32
33