Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-cppdap.bash
5008 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 exact_tree_match=false
14
readonly paths="
15
LICENSE
16
include
17
src
18
"
19
20
extract_source () {
21
git_archive
22
23
pushd "${extractdir}/${name}-reduced"
24
echo "* -whitespace" > .gitattributes
25
fromdos LICENSE include/dap/* src/*
26
echo "" >> LICENSE
27
echo "" >> src/content_stream.cpp
28
echo "" >> src/nlohmann_json_serializer.h
29
popd
30
}
31
32
. "${BASH_SOURCE%/*}/update-third-party.bash"
33
34