1#!/usr/bin/env bash
2
3set -e
4set -x
5shopt -s dotglob
6
7readonly name="cli11"
8readonly ownership="CLI11 Upstream <kwrobot@kitware.com>"
9readonly subtree="ThirdParty/$name/vtk$name"
10readonly repo="https://gitlab.kitware.com/third-party/cli11.git"
11readonly tag="for/vtk-20210726-v2.0.0"
12readonly paths="
13include/CLI/*.hpp
14LICENSE
15README.md
16README.kitware.md
17CMakeLists.vtk.txt
18"
19
20extract_source () {
21    git_archive
22    pushd "$extractdir/$name-reduced"
23    mv -v include/* .
24    mv -v CMakeLists.vtk.txt CMakeLists.txt
25    popd
26}
27
28. "${BASH_SOURCE%/*}/../update-common.sh"
29