vapier | fe1005a | 2017-03-09 11:40:51 -0800 | [diff] [blame] | 1 | #!/bin/bash |
Avi Drissman | 7ff2724 | 2022-09-15 20:11:09 +0000 | [diff] [blame] | 2 | # Copyright 2017 The Chromium Authors |
vapier | fe1005a | 2017-03-09 11:40:51 -0800 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | URL_BASE='https://gerrit.googlesource.com/gitiles/+/HEAD/gitiles-servlet/src/main/resources/com/google/gitiles/static' |
| 7 | |
| 8 | # Quickly pull down the latest gitiles css files. |
| 9 | for css in base doc prettify/prettify; do |
| 10 | output="${css#*/}.css" |
| 11 | url="${URL_BASE}/${css}.css?format=TEXT" |
| 12 | echo "Updating ${output}" |
| 13 | curl "${url}" | base64 -d >"${output}" |
| 14 | done |