Add script to pull svgs to svgs/ and add to .gitignore

Change-Id: I77f78e7b27963a087ace30b8ce41118dd76c9026
Reviewed-on: https://skia-review.googlesource.com/150914
Reviewed-by: Hal Canary <halcanary@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2018-08-31 15:30:25 -04:00 committed by Skia Commit-Bot
parent db16001d6a
commit 4db65d4d39
2 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -34,6 +34,7 @@ platform_tools/android/apps/*/.externalNativeBuild
sampleapp_prefs.txt
/skps
/svgs
third_party/externals
tools/skp/page_sets/data/*.json
tools/skp/page_sets/data/*.wpr

9
bin/fetch-svgs Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Copies the latest bot-generated SVG set to ./svgs.
set -x
set -e
DOWNLOAD_SCRIPT=$(cd $(dirname $0)/..; pwd)/infra/bots/assets/svg/download.py
python ${DOWNLOAD_SCRIPT} -t $(pwd)/svgs