2023-07-02 19:51:09 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
shopt -s dotglob
|
|
|
|
|
|
|
|
readonly name="cppdap"
|
|
|
|
readonly ownership="cppdap Upstream <kwrobot@kitware.com>"
|
|
|
|
readonly subtree="Utilities/cmcppdap"
|
|
|
|
readonly repo="https://github.com/google/cppdap.git"
|
2023-08-26 19:55:20 +02:00
|
|
|
readonly tag="cc2f2058846bb29e18fdadf455d5f5af71b2554f" # 2023-08-17
|
2023-07-02 19:51:09 +02:00
|
|
|
readonly shortlog=false
|
|
|
|
readonly paths="
|
|
|
|
LICENSE
|
|
|
|
include
|
|
|
|
src
|
|
|
|
"
|
|
|
|
|
|
|
|
extract_source () {
|
|
|
|
git_archive
|
|
|
|
|
|
|
|
pushd "${extractdir}/${name}-reduced"
|
|
|
|
echo "* -whitespace" > .gitattributes
|
|
|
|
fromdos LICENSE include/dap/* src/*
|
|
|
|
echo "" >> LICENSE
|
2023-08-26 19:55:20 +02:00
|
|
|
echo "" >> src/content_stream.cpp
|
2023-07-02 19:51:09 +02:00
|
|
|
echo "" >> src/nlohmann_json_serializer.h
|
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
|
|
|
. "${BASH_SOURCE%/*}/update-third-party.bash"
|