2015-01-28 17:39:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Copies the latest bot-generated SKP set to ./skps.
|
2018-01-04 16:43:54 +00:00
|
|
|
# If you are having trouble, please refer to the instructions at:
|
|
|
|
# https://sites.google.com/a/google.com/skia/key-resources/skps
|
2015-01-28 17:39:10 +00:00
|
|
|
|
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
2021-06-18 14:34:17 +00:00
|
|
|
ROOT_DIR="$(cd $(dirname $0)/..; pwd)"
|
2021-08-30 19:00:55 +00:00
|
|
|
python3 ${ROOT_DIR}/bin/fetch-sk
|
2021-06-18 14:34:17 +00:00
|
|
|
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
|