OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 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/mai
n/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 |
OLD | NEW |