skia2/bin/fetch-svgs
Eric Boren 14cc21fd99 [sk] Update asset download references to use SK
Change-Id: If3e838f22f1b99fd7a3b1c6bca0affd39f5573b0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449843
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2021-09-17 16:55:53 +00:00

16 lines
319 B
Bash
Executable File

#!/bin/sh
# Copies the latest bot-generated SVG set to ./svgs.
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 svg $(pwd)/svgs