Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Utilities / Scripts / update-libuv.bash
1 #!/usr/bin/env bash
2
3 set -e
4 set -x
5 shopt -s dotglob
6
7 readonly name="libuv"
8 readonly ownership="libuv upstream <libuv@googlegroups.com>"
9 readonly subtree="Utilities/cmlibuv"
10 readonly repo="https://github.com/libuv/libuv.git"
11 readonly tag="v1.44.2"
12 readonly shortlog=false
13 readonly paths="
14   LICENSE
15   include
16   src
17 "
18
19 extract_source () {
20     git_archive
21     pushd "${extractdir}/${name}-reduced"
22     echo "* -whitespace" > .gitattributes
23     echo >> src/unix/aix-common.c
24     echo >> src/unix/ibmi.c
25     popd
26 }
27
28 . "${BASH_SOURCE%/*}/update-third-party.bash"