skia2/bin/fetch-skps
Eric Boren 3177f853ea [infra] Fix fetch-sk and fetch-skps
Change-Id: I4b6a31e299eaabd4fdbb469272c3a9fd243a293e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/419776
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2021-06-18 15:20:38 +00:00

18 lines
448 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:
# https://sites.google.com/a/google.com/skia/key-resources/skps
set -x
set -e
ROOT_DIR="$(cd $(dirname $0)/..; pwd)"
python ${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