update-cppdap.bash 691 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="cppdap"
  6. readonly ownership="cppdap Upstream <[email protected]>"
  7. readonly subtree="Utilities/cmcppdap"
  8. readonly repo="https://github.com/google/cppdap.git"
  9. readonly tag="c69444ed76f7468b232ac4f989cb8f2bdc100185" # 2024-08-02
  10. readonly shortlog=false
  11. readonly paths="
  12. LICENSE
  13. include
  14. src
  15. "
  16. extract_source () {
  17. git_archive
  18. pushd "${extractdir}/${name}-reduced"
  19. echo "* -whitespace" > .gitattributes
  20. fromdos LICENSE include/dap/* src/*
  21. echo "" >> LICENSE
  22. echo "" >> src/content_stream.cpp
  23. echo "" >> src/nlohmann_json_serializer.h
  24. popd
  25. }
  26. . "${BASH_SOURCE%/*}/update-third-party.bash"