Add update file for VTK-c

This commit is contained in:
Sujin Philip 2019-09-11 16:18:58 -04:00
parent 3b2fb5c8ab
commit 2a6aadc691
2 changed files with 26 additions and 0 deletions

1
.gitattributes vendored

@ -17,3 +17,4 @@ data/** filter=lfs diff=lfs merge=lfs -text
vtkm/thirdparty/diy/vtkmdiy/** -format.clang-format -whitespace
vtkm/thirdparty/optionparser/vtkmoptionparser/** -format.clang-format -whitespace
vtkm/thirdparty/lodepng/vtkmlodepng/** -format.clang-format -whitespace
vtkm/thirdparty/vtkc/vtkmvtkc/** -format.clang-format -whitespace

25
vtkm/thirdparty/vtkc/update.sh vendored Executable file

@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="vtkc"
readonly ownership="VTK-c Upstream <kwrobot@kitware.com>"
readonly subtree="vtkm/thirdparty/$name/vtkm$name"
readonly repo="https://gitlab.kitware.com/sujin.philip/vtk-c.git"
readonly tag="master"
readonly paths="
vtkc
LICENSE.md
README.md
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
rm -rf vtkc/testing
popd
}
. "${BASH_SOURCE%/*}/../update-common.sh"