skia2/bin/fetch-skps
Ravi Mistry f30602e8d0 Update SKPs documentation link
Change-Id: I4bc1e4c331029d0939fa28910c6cbbc9697d666d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541721
Reviewed-by: Herb Derby <herb@google.com>
2022-05-18 15:21:44 +00:00

18 lines
404 B
Bash
Executable File

#!/bin/sh
# Copies the latest bot-generated SKP set to ./skps.
# If you are having trouble, please refer to the instructions at:
# go/download-skps
set -x
set -e
ROOT_DIR="$(cd $(dirname $0)/..; pwd)"
python3 ${ROOT_DIR}/bin/fetch-sk
case "$(uname -s)" in
CYGWIN*) SK_EXE="sk.exe";;
MINGW*) SK_EXE="sk.exe";;
*) SK_EXE="sk";;
esac
${ROOT_DIR}/bin/${SK_EXE} asset download skp $(pwd)/skps