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:
parent
300cf065fe
commit
29e81529ba
8
third_party/skcms/roll.sh
vendored
8
third_party/skcms/roll.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user