mtklein | 674cd7e | 2015-01-28 09:39:10 -0800 | [diff] [blame] | 1 | #!/bin/sh |
mtklein | 674cd7e | 2015-01-28 09:39:10 -0800 | [diff] [blame] | 2 | |
| 3 | # Copies the latest bot-generated SKP set to ./skps. |
Herbert Derby | ff889f1 | 2018-01-04 11:43:54 -0500 | [diff] [blame] | 4 | # If you are having trouble, please refer to the instructions at: |
| 5 | # https://sites.google.com/a/google.com/skia/key-resources/skps |
mtklein | 674cd7e | 2015-01-28 09:39:10 -0800 | [diff] [blame] | 6 | |
| 7 | set -x |
| 8 | set -e |
| 9 | |
Eric Boren | 3177f85 | 2021-06-18 10:34:17 -0400 | [diff] [blame] | 10 | ROOT_DIR="$(cd $(dirname $0)/..; pwd)" |
John Stiles | fd3a6d9 | 2021-08-30 15:00:55 -0400 | [diff] [blame] | 11 | python3 ${ROOT_DIR}/bin/fetch-sk |
Eric Boren | 3177f85 | 2021-06-18 10:34:17 -0400 | [diff] [blame] | 12 | case "$(uname -s)" in |
| 13 | CYGWIN*) SK_EXE="sk.exe";; |
| 14 | MINGW*) SK_EXE="sk.exe";; |
| 15 | *) SK_EXE="sk";; |
| 16 | esac |
| 17 | ${ROOT_DIR}/bin/${SK_EXE} asset download skp $(pwd)/skps |