update-kwsys.bash 622 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="KWSys"
  6. readonly ownership="KWSys Upstream <[email protected]>"
  7. readonly subtree="Source/kwsys"
  8. readonly repo="https://gitlab.kitware.com/utils/kwsys.git"
  9. readonly tag="master"
  10. readonly shortlog=true
  11. readonly exact_tree_match=false
  12. readonly paths="
  13. "
  14. extract_source () {
  15. git_archive
  16. sed -i -e '/import off/,/import on/d' "$extractdir/$name-reduced/.gitattributes"
  17. sed -i -e 's/project=KWSys/project=PublicDashboard/' "$extractdir/$name-reduced/CTestConfig.cmake"
  18. }
  19. export HOOKS_ALLOW_KWSYS=1
  20. . "${BASH_SOURCE%/*}/update-third-party.bash"