roll to particular targets

Change-Id: Iafbcab2fd406a81766f534d70b36f38b1c369506
Reviewed-on: https://skia-review.googlesource.com/120500
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Mike Klein 2018-04-11 13:47:58 -04:00
parent 300cf065fe
commit 29e81529ba

View File

@ -10,7 +10,13 @@ set -e
here=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)
skcms=$(mktemp -d)
git clone --quiet --depth 1 https://skia.googlesource.com/skcms.git $skcms
if [ "$#" == "0" ]; then
git clone --quiet --depth 1 https://skia.googlesource.com/skcms.git $skcms
else
git clone --quiet https://skia.googlesource.com/skcms.git $skcms
git -C $skcms checkout $1
fi
git rm --quiet $here/LICENSE
git rm --quiet $here/skcms.h