fd3a6d9235
fetch-sk is no longer Python 2 compatible, and not all machines default to Python3 (the Mac terminal still defaults to 2.7). Change-Id: I6244ee591bbe787ef2dba46da2b20446265e42b8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443406 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
18 lines
449 B
Bash
Executable File
18 lines
449 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)"
|
|
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
|