Add script to update libuv from upstream

This commit is contained in:
Brad King 2016-08-16 16:19:43 -04:00
parent 98caa14cc8
commit 3800fc299f
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="libuv"
readonly ownership="libuv upstream <libuv@googlegroups.com>"
readonly subtree="Utilities/cmlibuv"
readonly repo="https://github.com/libuv/libuv.git"
readonly tag="v1.x"
readonly shortlog=false
readonly paths="
LICENSE
include
src
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"